Interface MetadataMatcher.PathSegmentOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MetadataMatcher.PathSegment
,MetadataMatcher.PathSegment.Builder
- Enclosing class:
- MetadataMatcher
public static interface MetadataMatcher.PathSegmentOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getKey()
If specified, use the key to retrieve the value in a Struct.com.google.protobuf.ByteString
getKeyBytes()
If specified, use the key to retrieve the value in a Struct.MetadataMatcher.PathSegment.SegmentCase
getSegmentCase()
boolean
hasKey()
If specified, use the key to retrieve the value in a Struct.-
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()
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
java.lang.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
MetadataMatcher.PathSegment.SegmentCase getSegmentCase()
-
-