Package io.trino.orc.proto
Interface OrcProto.StringPairOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OrcProto.StringPair,OrcProto.StringPair.Builder
- Enclosing class:
- OrcProto
public static interface OrcProto.StringPairOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetKey()optional string key = 1;com.google.protobuf.ByteStringgetKeyBytes()optional string key = 1;StringgetValue()optional string value = 2;com.google.protobuf.ByteStringgetValueBytes()optional string value = 2;booleanhasKey()optional string key = 1;booleanhasValue()optional string value = 2;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasKey
boolean hasKey()
optional string key = 1;- Returns:
- Whether the key field is set.
-
getKey
String getKey()
optional string key = 1;- Returns:
- The key.
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()
optional string key = 1;- Returns:
- The bytes for key.
-
hasValue
boolean hasValue()
optional string value = 2;- Returns:
- Whether the value field is set.
-
getValue
String getValue()
optional string value = 2;- Returns:
- The value.
-
getValueBytes
com.google.protobuf.ByteString getValueBytes()
optional string value = 2;- Returns:
- The bytes for value.
-
-