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
Modifier and TypeMethodDescriptionWhen 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
When no valid metadata is found, the tag value would be populated with this default value if specified, otherwise no tag would be populated.getKind()
Specify what kind of metadata to obtain tag value from.Specify what kind of metadata to obtain tag value from.Metadata key to define the path to retrieve the tag value.Metadata key to define the path to retrieve the tag value.boolean
hasKind()
Specify what kind of metadata to obtain tag value from.boolean
Metadata key to define the path to retrieve the tag value.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
-
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
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.
-