Package org.apache.drill.exec.proto
Interface UserProtos.PropertyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UserProtos.Property
,UserProtos.Property.Builder
- Enclosing class:
- UserProtos
public static interface UserProtos.PropertyOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetKey()
required string key = 1;
com.google.protobuf.ByteString
required string key = 1;
getValue()
required string value = 2;
com.google.protobuf.ByteString
required string value = 2;
boolean
hasKey()
required string key = 1;
boolean
hasValue()
required string value = 2;
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasKey
boolean hasKey()required string key = 1;
- Returns:
- Whether the key field is set.
-
getKey
String getKey()required string key = 1;
- Returns:
- The key.
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()required string key = 1;
- Returns:
- The bytes for key.
-
hasValue
boolean hasValue()required string value = 2;
- Returns:
- Whether the value field is set.
-
getValue
String getValue()required string value = 2;
- Returns:
- The value.
-
getValueBytes
com.google.protobuf.ByteString getValueBytes()required string value = 2;
- Returns:
- The bytes for value.
-