Class CustomTag
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.envoyproxy.envoy.type.tracing.v3.CustomTag
- All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, CustomTagOrBuilder, Serializable
@Generated
public final class CustomTag
extends com.google.protobuf.GeneratedMessage
implements CustomTagOrBuilder
Describes custom tags for the active span. [#next-free-field: 6]Protobuf type
envoy.type.tracing.v3.CustomTag- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDescribes custom tags for the active span.static final classEnvironment type custom tag with environment name and default value.static interfacestatic final classHeader type custom tag with header name and default value.static interfacestatic final classLiteral type custom tag with static value for the tag value.static interfacestatic final classMetadata type custom tag using :ref:`MetadataKey <envoy_v3_api_msg_type.metadata.v3.MetadataKey>` to retrieve the protobuf value from :ref:`Metadata <envoy_v3_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 interfacestatic enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final CustomTagstatic final intstatic final intprivate bytestatic final intprivate static final com.google.protobuf.Parser<CustomTag> static final intprivate static final longprivate Objectstatic final intprivate Objectprivate intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic CustomTagstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorAn environment custom tag.An environment custom tag.A literal custom tag.A literal custom tag.A custom tag to obtain tag value from the metadata.A custom tag to obtain tag value from the metadata.com.google.protobuf.Parser<CustomTag> A request header custom tag.A request header custom tag.intgetTag()Used to populate the tag name.com.google.protobuf.ByteStringUsed to populate the tag name.booleanAn environment custom tag.inthashCode()booleanA literal custom tag.booleanA custom tag to obtain tag value from the metadata.booleanA request header custom tag.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic CustomTag.Builderstatic CustomTag.BuildernewBuilder(CustomTag prototype) protected CustomTag.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static CustomTagparseDelimitedFrom(InputStream input) static CustomTagparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CustomTagparseFrom(byte[] data) static CustomTagparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CustomTagparseFrom(com.google.protobuf.ByteString data) static CustomTagparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CustomTagparseFrom(com.google.protobuf.CodedInputStream input) static CustomTagparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CustomTagparseFrom(InputStream input) static CustomTagparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CustomTagparseFrom(ByteBuffer data) static CustomTagparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<CustomTag> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
typeCase_
private int typeCase_ -
type_
-
TAG_FIELD_NUMBER
public static final int TAG_FIELD_NUMBER- See Also:
-
tag_
-
LITERAL_FIELD_NUMBER
public static final int LITERAL_FIELD_NUMBER- See Also:
-
ENVIRONMENT_FIELD_NUMBER
public static final int ENVIRONMENT_FIELD_NUMBER- See Also:
-
REQUEST_HEADER_FIELD_NUMBER
public static final int REQUEST_HEADER_FIELD_NUMBER- See Also:
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER- See Also:
-
memoizedIsInitialized
private byte memoizedIsInitialized -
DEFAULT_INSTANCE
-
PARSER
-
-
Constructor Details
-
CustomTag
private CustomTag(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
CustomTag
private CustomTag()
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getTypeCase
- Specified by:
getTypeCasein interfaceCustomTagOrBuilder
-
getTag
Used to populate the tag name.
string tag = 1 [(.validate.rules) = { ... }- Specified by:
getTagin interfaceCustomTagOrBuilder- Returns:
- The tag.
-
getTagBytes
public com.google.protobuf.ByteString getTagBytes()Used to populate the tag name.
string tag = 1 [(.validate.rules) = { ... }- Specified by:
getTagBytesin interfaceCustomTagOrBuilder- Returns:
- The bytes for tag.
-
hasLiteral
public boolean hasLiteral()A literal custom tag.
.envoy.type.tracing.v3.CustomTag.Literal literal = 2;- Specified by:
hasLiteralin interfaceCustomTagOrBuilder- Returns:
- Whether the literal field is set.
-
getLiteral
A literal custom tag.
.envoy.type.tracing.v3.CustomTag.Literal literal = 2;- Specified by:
getLiteralin interfaceCustomTagOrBuilder- Returns:
- The literal.
-
getLiteralOrBuilder
A literal custom tag.
.envoy.type.tracing.v3.CustomTag.Literal literal = 2;- Specified by:
getLiteralOrBuilderin interfaceCustomTagOrBuilder
-
hasEnvironment
public boolean hasEnvironment()An environment custom tag.
.envoy.type.tracing.v3.CustomTag.Environment environment = 3;- Specified by:
hasEnvironmentin interfaceCustomTagOrBuilder- Returns:
- Whether the environment field is set.
-
getEnvironment
An environment custom tag.
.envoy.type.tracing.v3.CustomTag.Environment environment = 3;- Specified by:
getEnvironmentin interfaceCustomTagOrBuilder- Returns:
- The environment.
-
getEnvironmentOrBuilder
An environment custom tag.
.envoy.type.tracing.v3.CustomTag.Environment environment = 3;- Specified by:
getEnvironmentOrBuilderin interfaceCustomTagOrBuilder
-
hasRequestHeader
public boolean hasRequestHeader()A request header custom tag.
.envoy.type.tracing.v3.CustomTag.Header request_header = 4;- Specified by:
hasRequestHeaderin interfaceCustomTagOrBuilder- Returns:
- Whether the requestHeader field is set.
-
getRequestHeader
A request header custom tag.
.envoy.type.tracing.v3.CustomTag.Header request_header = 4;- Specified by:
getRequestHeaderin interfaceCustomTagOrBuilder- Returns:
- The requestHeader.
-
getRequestHeaderOrBuilder
A request header custom tag.
.envoy.type.tracing.v3.CustomTag.Header request_header = 4;- Specified by:
getRequestHeaderOrBuilderin interfaceCustomTagOrBuilder
-
hasMetadata
public boolean hasMetadata()A custom tag to obtain tag value from the metadata.
.envoy.type.tracing.v3.CustomTag.Metadata metadata = 5;- Specified by:
hasMetadatain interfaceCustomTagOrBuilder- Returns:
- Whether the metadata field is set.
-
getMetadata
A custom tag to obtain tag value from the metadata.
.envoy.type.tracing.v3.CustomTag.Metadata metadata = 5;- Specified by:
getMetadatain interfaceCustomTagOrBuilder- Returns:
- The metadata.
-
getMetadataOrBuilder
A custom tag to obtain tag value from the metadata.
.envoy.type.tracing.v3.CustomTag.Metadata metadata = 5;- Specified by:
getMetadataOrBuilderin interfaceCustomTagOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static CustomTag parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CustomTag parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CustomTag parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CustomTag parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CustomTag parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CustomTag parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static CustomTag parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static CustomTag parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static CustomTag parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CustomTag.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-