Interface StructMatcher.PathSegmentOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StructMatcher.PathSegment
,StructMatcher.PathSegment.Builder
- Enclosing class:
StructMatcher
public static interface StructMatcher.PathSegmentOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
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()If specified, use the key to retrieve the value in a Struct.
string key = 1 [(.validate.rules) = { ... }
- Returns:
- Whether the key field is set.
-
getKey
String getKey()If specified, use the key to retrieve the value in a Struct.
string key = 1 [(.validate.rules) = { ... }
- Returns:
- The key.
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()If specified, use the key to retrieve the value in a Struct.
string key = 1 [(.validate.rules) = { ... }
- Returns:
- The bytes for key.
-
getSegmentCase
StructMatcher.PathSegment.SegmentCase getSegmentCase()
-