Interface CustomTag.MetadataOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CustomTag.Metadata
,CustomTag.Metadata.Builder
- Enclosing class:
- CustomTag
public static interface CustomTag.MetadataOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getDefaultValue()
When no valid metadata is found, the tag value would be populated with this default value if specified, otherwise no tag would be populated.com.google.protobuf.ByteString
getDefaultValueBytes()
When no valid metadata is found, the tag value would be populated with this default value if specified, otherwise no tag would be populated.MetadataKind
getKind()
Specify what kind of metadata to obtain tag value from.MetadataKindOrBuilder
getKindOrBuilder()
Specify what kind of metadata to obtain tag value from.MetadataKey
getMetadataKey()
Metadata key to define the path to retrieve the tag value.MetadataKeyOrBuilder
getMetadataKeyOrBuilder()
Metadata key to define the path to retrieve the tag value.boolean
hasKind()
Specify what kind of metadata to obtain tag value from.boolean
hasMetadataKey()
Metadata key to define the path to retrieve the tag value.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasKind
boolean hasKind()
Specify what kind of metadata to obtain tag value from.
.envoy.type.metadata.v3.MetadataKind kind = 1;
- Returns:
- Whether the kind field is set.
-
getKind
MetadataKind getKind()
Specify what kind of metadata to obtain tag value from.
.envoy.type.metadata.v3.MetadataKind kind = 1;
- Returns:
- The kind.
-
getKindOrBuilder
MetadataKindOrBuilder getKindOrBuilder()
Specify what kind of metadata to obtain tag value from.
.envoy.type.metadata.v3.MetadataKind kind = 1;
-
hasMetadataKey
boolean hasMetadataKey()
Metadata key to define the path to retrieve the tag value.
.envoy.type.metadata.v3.MetadataKey metadata_key = 2;
- Returns:
- Whether the metadataKey field is set.
-
getMetadataKey
MetadataKey getMetadataKey()
Metadata key to define the path to retrieve the tag value.
.envoy.type.metadata.v3.MetadataKey metadata_key = 2;
- Returns:
- The metadataKey.
-
getMetadataKeyOrBuilder
MetadataKeyOrBuilder getMetadataKeyOrBuilder()
Metadata key to define the path to retrieve the tag value.
.envoy.type.metadata.v3.MetadataKey metadata_key = 2;
-
getDefaultValue
java.lang.String getDefaultValue()
When no valid metadata is found, the tag value would be populated with this default value if specified, otherwise no tag would be populated.
string default_value = 3;
- Returns:
- The defaultValue.
-
getDefaultValueBytes
com.google.protobuf.ByteString getDefaultValueBytes()
When no valid metadata is found, the tag value would be populated with this default value if specified, otherwise no tag would be populated.
string default_value = 3;
- Returns:
- The bytes for defaultValue.
-
-