public static final class CustomTag.Metadata extends com.google.protobuf.GeneratedMessageV3 implements CustomTag.MetadataOrBuilder
Metadata type custom tag using :ref:`MetadataKey <envoy_api_msg_type.metadata.v3.MetadataKey>` to retrieve the protobuf value from :ref:`Metadata <envoy_api_msg_config.core.v3.Metadata>`, and populate the tag value with `the canonical JSON <https://developers.google.com/protocol-buffers/docs/proto3#json>`_ representation of it.Protobuf type
envoy.type.tracing.v3.CustomTag.Metadata| Modifier and Type | Class and Description |
|---|---|
static class |
CustomTag.Metadata.Builder
Metadata type custom tag using
:ref:`MetadataKey <envoy_api_msg_type.metadata.v3.MetadataKey>` to retrieve the protobuf value
from :ref:`Metadata <envoy_api_msg_config.core.v3.Metadata>`, and populate the tag value with
`the canonical JSON <https://developers.google.com/protocol-buffers/docs/proto3#json>`_
representation of it.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_VALUE_FIELD_NUMBER |
static int |
KIND_FIELD_NUMBER |
static int |
METADATA_KEY_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static CustomTag.Metadata |
getDefaultInstance() |
CustomTag.Metadata |
getDefaultInstanceForType() |
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.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<CustomTag.Metadata> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static CustomTag.Metadata.Builder |
newBuilder() |
static CustomTag.Metadata.Builder |
newBuilder(CustomTag.Metadata prototype) |
CustomTag.Metadata.Builder |
newBuilderForType() |
protected CustomTag.Metadata.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static CustomTag.Metadata |
parseDelimitedFrom(InputStream input) |
static CustomTag.Metadata |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CustomTag.Metadata |
parseFrom(byte[] data) |
static CustomTag.Metadata |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CustomTag.Metadata |
parseFrom(ByteBuffer data) |
static CustomTag.Metadata |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CustomTag.Metadata |
parseFrom(com.google.protobuf.ByteString data) |
static CustomTag.Metadata |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CustomTag.Metadata |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CustomTag.Metadata |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CustomTag.Metadata |
parseFrom(InputStream input) |
static CustomTag.Metadata |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<CustomTag.Metadata> |
parser() |
CustomTag.Metadata.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int KIND_FIELD_NUMBER
public static final int METADATA_KEY_FIELD_NUMBER
public static final int DEFAULT_VALUE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasKind()
Specify what kind of metadata to obtain tag value from.
.envoy.type.metadata.v3.MetadataKind kind = 1;hasKind in interface CustomTag.MetadataOrBuilderpublic MetadataKind getKind()
Specify what kind of metadata to obtain tag value from.
.envoy.type.metadata.v3.MetadataKind kind = 1;getKind in interface CustomTag.MetadataOrBuilderpublic MetadataKindOrBuilder getKindOrBuilder()
Specify what kind of metadata to obtain tag value from.
.envoy.type.metadata.v3.MetadataKind kind = 1;getKindOrBuilder in interface CustomTag.MetadataOrBuilderpublic boolean hasMetadataKey()
Metadata key to define the path to retrieve the tag value.
.envoy.type.metadata.v3.MetadataKey metadata_key = 2;hasMetadataKey in interface CustomTag.MetadataOrBuilderpublic MetadataKey getMetadataKey()
Metadata key to define the path to retrieve the tag value.
.envoy.type.metadata.v3.MetadataKey metadata_key = 2;getMetadataKey in interface CustomTag.MetadataOrBuilderpublic MetadataKeyOrBuilder getMetadataKeyOrBuilder()
Metadata key to define the path to retrieve the tag value.
.envoy.type.metadata.v3.MetadataKey metadata_key = 2;getMetadataKeyOrBuilder in interface CustomTag.MetadataOrBuilderpublic 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;getDefaultValue in interface CustomTag.MetadataOrBuilderpublic 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;getDefaultValueBytes in interface CustomTag.MetadataOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static CustomTag.Metadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CustomTag.Metadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CustomTag.Metadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CustomTag.Metadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CustomTag.Metadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CustomTag.Metadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CustomTag.Metadata parseFrom(InputStream input) throws IOException
IOExceptionpublic static CustomTag.Metadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CustomTag.Metadata parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static CustomTag.Metadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CustomTag.Metadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static CustomTag.Metadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic CustomTag.Metadata.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static CustomTag.Metadata.Builder newBuilder()
public static CustomTag.Metadata.Builder newBuilder(CustomTag.Metadata prototype)
public CustomTag.Metadata.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected CustomTag.Metadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static CustomTag.Metadata getDefaultInstance()
public static com.google.protobuf.Parser<CustomTag.Metadata> parser()
public com.google.protobuf.Parser<CustomTag.Metadata> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public CustomTag.Metadata getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.