public final class CustomTag extends com.google.protobuf.GeneratedMessageV3 implements CustomTagOrBuilder
Describes custom tags for the active span. [#next-free-field: 6]Protobuf type
envoy.type.tracing.v3.CustomTag| Modifier and Type | Class and Description |
|---|---|
static class |
CustomTag.Builder
Describes custom tags for the active span.
|
static class |
CustomTag.Environment
Environment type custom tag with environment name and default value.
|
static interface |
CustomTag.EnvironmentOrBuilder |
static class |
CustomTag.Header
Header type custom tag with header name and default value.
|
static interface |
CustomTag.HeaderOrBuilder |
static class |
CustomTag.Literal
Literal type custom tag with static value for the tag value.
|
static interface |
CustomTag.LiteralOrBuilder |
static class |
CustomTag.Metadata
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.
|
static interface |
CustomTag.MetadataOrBuilder |
static class |
CustomTag.TypeCase |
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 |
ENVIRONMENT_FIELD_NUMBER |
static int |
LITERAL_FIELD_NUMBER |
static int |
METADATA_FIELD_NUMBER |
static int |
REQUEST_HEADER_FIELD_NUMBER |
static int |
TAG_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static CustomTag |
getDefaultInstance() |
CustomTag |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
CustomTag.Environment |
getEnvironment()
An environment custom tag.
|
CustomTag.EnvironmentOrBuilder |
getEnvironmentOrBuilder()
An environment custom tag.
|
CustomTag.Literal |
getLiteral()
A literal custom tag.
|
CustomTag.LiteralOrBuilder |
getLiteralOrBuilder()
A literal custom tag.
|
CustomTag.Metadata |
getMetadata()
A custom tag to obtain tag value from the metadata.
|
CustomTag.MetadataOrBuilder |
getMetadataOrBuilder()
A custom tag to obtain tag value from the metadata.
|
com.google.protobuf.Parser<CustomTag> |
getParserForType() |
CustomTag.Header |
getRequestHeader()
A request header custom tag.
|
CustomTag.HeaderOrBuilder |
getRequestHeaderOrBuilder()
A request header custom tag.
|
int |
getSerializedSize() |
String |
getTag()
Used to populate the tag name.
|
com.google.protobuf.ByteString |
getTagBytes()
Used to populate the tag name.
|
CustomTag.TypeCase |
getTypeCase() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasEnvironment()
An environment custom tag.
|
int |
hashCode() |
boolean |
hasLiteral()
A literal custom tag.
|
boolean |
hasMetadata()
A custom tag to obtain tag value from the metadata.
|
boolean |
hasRequestHeader()
A request header custom tag.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static CustomTag.Builder |
newBuilder() |
static CustomTag.Builder |
newBuilder(CustomTag prototype) |
CustomTag.Builder |
newBuilderForType() |
protected CustomTag.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static CustomTag |
parseDelimitedFrom(InputStream input) |
static CustomTag |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CustomTag |
parseFrom(byte[] data) |
static CustomTag |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CustomTag |
parseFrom(ByteBuffer data) |
static CustomTag |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CustomTag |
parseFrom(com.google.protobuf.ByteString data) |
static CustomTag |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CustomTag |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CustomTag |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CustomTag |
parseFrom(InputStream input) |
static CustomTag |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<CustomTag> |
parser() |
CustomTag.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 TAG_FIELD_NUMBER
public static final int LITERAL_FIELD_NUMBER
public static final int ENVIRONMENT_FIELD_NUMBER
public static final int REQUEST_HEADER_FIELD_NUMBER
public static final int METADATA_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 CustomTag.TypeCase getTypeCase()
getTypeCase in interface CustomTagOrBuilderpublic String getTag()
Used to populate the tag name.
string tag = 1 [(.validate.rules) = { ... }getTag in interface CustomTagOrBuilderpublic com.google.protobuf.ByteString getTagBytes()
Used to populate the tag name.
string tag = 1 [(.validate.rules) = { ... }getTagBytes in interface CustomTagOrBuilderpublic boolean hasLiteral()
A literal custom tag.
.envoy.type.tracing.v3.CustomTag.Literal literal = 2;hasLiteral in interface CustomTagOrBuilderpublic CustomTag.Literal getLiteral()
A literal custom tag.
.envoy.type.tracing.v3.CustomTag.Literal literal = 2;getLiteral in interface CustomTagOrBuilderpublic CustomTag.LiteralOrBuilder getLiteralOrBuilder()
A literal custom tag.
.envoy.type.tracing.v3.CustomTag.Literal literal = 2;getLiteralOrBuilder in interface CustomTagOrBuilderpublic boolean hasEnvironment()
An environment custom tag.
.envoy.type.tracing.v3.CustomTag.Environment environment = 3;hasEnvironment in interface CustomTagOrBuilderpublic CustomTag.Environment getEnvironment()
An environment custom tag.
.envoy.type.tracing.v3.CustomTag.Environment environment = 3;getEnvironment in interface CustomTagOrBuilderpublic CustomTag.EnvironmentOrBuilder getEnvironmentOrBuilder()
An environment custom tag.
.envoy.type.tracing.v3.CustomTag.Environment environment = 3;getEnvironmentOrBuilder in interface CustomTagOrBuilderpublic boolean hasRequestHeader()
A request header custom tag.
.envoy.type.tracing.v3.CustomTag.Header request_header = 4;hasRequestHeader in interface CustomTagOrBuilderpublic CustomTag.Header getRequestHeader()
A request header custom tag.
.envoy.type.tracing.v3.CustomTag.Header request_header = 4;getRequestHeader in interface CustomTagOrBuilderpublic CustomTag.HeaderOrBuilder getRequestHeaderOrBuilder()
A request header custom tag.
.envoy.type.tracing.v3.CustomTag.Header request_header = 4;getRequestHeaderOrBuilder in interface CustomTagOrBuilderpublic boolean hasMetadata()
A custom tag to obtain tag value from the metadata.
.envoy.type.tracing.v3.CustomTag.Metadata metadata = 5;hasMetadata in interface CustomTagOrBuilderpublic CustomTag.Metadata getMetadata()
A custom tag to obtain tag value from the metadata.
.envoy.type.tracing.v3.CustomTag.Metadata metadata = 5;getMetadata in interface CustomTagOrBuilderpublic CustomTag.MetadataOrBuilder getMetadataOrBuilder()
A custom tag to obtain tag value from the metadata.
.envoy.type.tracing.v3.CustomTag.Metadata metadata = 5;getMetadataOrBuilder in interface CustomTagOrBuilderpublic 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 parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CustomTag parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CustomTag parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CustomTag parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CustomTag parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CustomTag parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CustomTag parseFrom(InputStream input) throws IOException
IOExceptionpublic static CustomTag parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CustomTag parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static CustomTag parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CustomTag parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static CustomTag parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic CustomTag.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static CustomTag.Builder newBuilder()
public static CustomTag.Builder newBuilder(CustomTag prototype)
public CustomTag.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected CustomTag.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static CustomTag getDefaultInstance()
public static com.google.protobuf.Parser<CustomTag> parser()
public com.google.protobuf.Parser<CustomTag> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public CustomTag getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.