public final class TraceConfig extends com.google.protobuf.GeneratedMessageV3 implements TraceConfigOrBuilder
Global configuration of the trace service. All fields must be specified, or the default (zero) values will be used for each type.Protobuf type
opencensus.proto.trace.v1.TraceConfig| Modifier and Type | Class and Description |
|---|---|
static class |
TraceConfig.Builder
Global configuration of the trace service.
|
static class |
TraceConfig.SamplerCase |
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 |
CONSTANT_SAMPLER_FIELD_NUMBER |
static int |
MAX_NUMBER_OF_ANNOTATIONS_FIELD_NUMBER |
static int |
MAX_NUMBER_OF_ATTRIBUTES_FIELD_NUMBER |
static int |
MAX_NUMBER_OF_LINKS_FIELD_NUMBER |
static int |
MAX_NUMBER_OF_MESSAGE_EVENTS_FIELD_NUMBER |
static int |
PROBABILITY_SAMPLER_FIELD_NUMBER |
static int |
RATE_LIMITING_SAMPLER_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ConstantSampler |
getConstantSampler()
.opencensus.proto.trace.v1.ConstantSampler constant_sampler = 2; |
ConstantSamplerOrBuilder |
getConstantSamplerOrBuilder()
.opencensus.proto.trace.v1.ConstantSampler constant_sampler = 2; |
static TraceConfig |
getDefaultInstance() |
TraceConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getMaxNumberOfAnnotations()
The global default max number of annotation events per span.
|
long |
getMaxNumberOfAttributes()
The global default max number of attributes per span.
|
long |
getMaxNumberOfLinks()
The global default max number of link entries per span.
|
long |
getMaxNumberOfMessageEvents()
The global default max number of message events per span.
|
com.google.protobuf.Parser<TraceConfig> |
getParserForType() |
ProbabilitySampler |
getProbabilitySampler()
.opencensus.proto.trace.v1.ProbabilitySampler probability_sampler = 1; |
ProbabilitySamplerOrBuilder |
getProbabilitySamplerOrBuilder()
.opencensus.proto.trace.v1.ProbabilitySampler probability_sampler = 1; |
RateLimitingSampler |
getRateLimitingSampler()
.opencensus.proto.trace.v1.RateLimitingSampler rate_limiting_sampler = 3; |
RateLimitingSamplerOrBuilder |
getRateLimitingSamplerOrBuilder()
.opencensus.proto.trace.v1.RateLimitingSampler rate_limiting_sampler = 3; |
TraceConfig.SamplerCase |
getSamplerCase() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasConstantSampler()
.opencensus.proto.trace.v1.ConstantSampler constant_sampler = 2; |
int |
hashCode() |
boolean |
hasProbabilitySampler()
.opencensus.proto.trace.v1.ProbabilitySampler probability_sampler = 1; |
boolean |
hasRateLimitingSampler()
.opencensus.proto.trace.v1.RateLimitingSampler rate_limiting_sampler = 3; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TraceConfig.Builder |
newBuilder() |
static TraceConfig.Builder |
newBuilder(TraceConfig prototype) |
TraceConfig.Builder |
newBuilderForType() |
protected TraceConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static TraceConfig |
parseDelimitedFrom(InputStream input) |
static TraceConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TraceConfig |
parseFrom(byte[] data) |
static TraceConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TraceConfig |
parseFrom(ByteBuffer data) |
static TraceConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TraceConfig |
parseFrom(com.google.protobuf.ByteString data) |
static TraceConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TraceConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TraceConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TraceConfig |
parseFrom(InputStream input) |
static TraceConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<TraceConfig> |
parser() |
TraceConfig.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 PROBABILITY_SAMPLER_FIELD_NUMBER
public static final int CONSTANT_SAMPLER_FIELD_NUMBER
public static final int RATE_LIMITING_SAMPLER_FIELD_NUMBER
public static final int MAX_NUMBER_OF_ATTRIBUTES_FIELD_NUMBER
public static final int MAX_NUMBER_OF_ANNOTATIONS_FIELD_NUMBER
public static final int MAX_NUMBER_OF_MESSAGE_EVENTS_FIELD_NUMBER
public static final int MAX_NUMBER_OF_LINKS_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 TraceConfig.SamplerCase getSamplerCase()
getSamplerCase in interface TraceConfigOrBuilderpublic boolean hasProbabilitySampler()
.opencensus.proto.trace.v1.ProbabilitySampler probability_sampler = 1;hasProbabilitySampler in interface TraceConfigOrBuilderpublic ProbabilitySampler getProbabilitySampler()
.opencensus.proto.trace.v1.ProbabilitySampler probability_sampler = 1;getProbabilitySampler in interface TraceConfigOrBuilderpublic ProbabilitySamplerOrBuilder getProbabilitySamplerOrBuilder()
.opencensus.proto.trace.v1.ProbabilitySampler probability_sampler = 1;getProbabilitySamplerOrBuilder in interface TraceConfigOrBuilderpublic boolean hasConstantSampler()
.opencensus.proto.trace.v1.ConstantSampler constant_sampler = 2;hasConstantSampler in interface TraceConfigOrBuilderpublic ConstantSampler getConstantSampler()
.opencensus.proto.trace.v1.ConstantSampler constant_sampler = 2;getConstantSampler in interface TraceConfigOrBuilderpublic ConstantSamplerOrBuilder getConstantSamplerOrBuilder()
.opencensus.proto.trace.v1.ConstantSampler constant_sampler = 2;getConstantSamplerOrBuilder in interface TraceConfigOrBuilderpublic boolean hasRateLimitingSampler()
.opencensus.proto.trace.v1.RateLimitingSampler rate_limiting_sampler = 3;hasRateLimitingSampler in interface TraceConfigOrBuilderpublic RateLimitingSampler getRateLimitingSampler()
.opencensus.proto.trace.v1.RateLimitingSampler rate_limiting_sampler = 3;getRateLimitingSampler in interface TraceConfigOrBuilderpublic RateLimitingSamplerOrBuilder getRateLimitingSamplerOrBuilder()
.opencensus.proto.trace.v1.RateLimitingSampler rate_limiting_sampler = 3;getRateLimitingSamplerOrBuilder in interface TraceConfigOrBuilderpublic long getMaxNumberOfAttributes()
The global default max number of attributes per span.
int64 max_number_of_attributes = 4;getMaxNumberOfAttributes in interface TraceConfigOrBuilderpublic long getMaxNumberOfAnnotations()
The global default max number of annotation events per span.
int64 max_number_of_annotations = 5;getMaxNumberOfAnnotations in interface TraceConfigOrBuilderpublic long getMaxNumberOfMessageEvents()
The global default max number of message events per span.
int64 max_number_of_message_events = 6;getMaxNumberOfMessageEvents in interface TraceConfigOrBuilderpublic long getMaxNumberOfLinks()
The global default max number of link entries per span.
int64 max_number_of_links = 7;getMaxNumberOfLinks in interface TraceConfigOrBuilderpublic 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 TraceConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TraceConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TraceConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TraceConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TraceConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TraceConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TraceConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static TraceConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TraceConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static TraceConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TraceConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static TraceConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic TraceConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static TraceConfig.Builder newBuilder()
public static TraceConfig.Builder newBuilder(TraceConfig prototype)
public TraceConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected TraceConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static TraceConfig getDefaultInstance()
public static com.google.protobuf.Parser<TraceConfig> parser()
public com.google.protobuf.Parser<TraceConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public TraceConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.