Class OpenCensusConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.envoyproxy.envoy.config.trace.v2.OpenCensusConfig
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,OpenCensusConfigOrBuilder,Serializable
public final class OpenCensusConfig extends com.google.protobuf.GeneratedMessageV3 implements OpenCensusConfigOrBuilder
Configuration for the OpenCensus tracer. [#next-free-field: 15] [#extension: envoy.tracers.opencensus]
Protobuf typeenvoy.config.trace.v2.OpenCensusConfig- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOpenCensusConfig.BuilderConfiguration for the OpenCensus tracer.static classOpenCensusConfig.TraceContextProtobuf enumenvoy.config.trace.v2.OpenCensusConfig.TraceContext-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static intINCOMING_TRACE_CONTEXT_FIELD_NUMBERstatic intOCAGENT_ADDRESS_FIELD_NUMBERstatic intOCAGENT_EXPORTER_ENABLED_FIELD_NUMBERstatic intOCAGENT_GRPC_SERVICE_FIELD_NUMBERstatic intOUTGOING_TRACE_CONTEXT_FIELD_NUMBERstatic intSTACKDRIVER_ADDRESS_FIELD_NUMBERstatic intSTACKDRIVER_EXPORTER_ENABLED_FIELD_NUMBERstatic intSTACKDRIVER_GRPC_SERVICE_FIELD_NUMBERstatic intSTACKDRIVER_PROJECT_ID_FIELD_NUMBERstatic intSTDOUT_EXPORTER_ENABLED_FIELD_NUMBERstatic intTRACE_CONFIG_FIELD_NUMBERstatic intZIPKIN_EXPORTER_ENABLED_FIELD_NUMBERstatic intZIPKIN_URL_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static OpenCensusConfiggetDefaultInstance()OpenCensusConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()OpenCensusConfig.TraceContextgetIncomingTraceContext(int index)List of incoming trace context headers we will accept.intgetIncomingTraceContextCount()List of incoming trace context headers we will accept.List<OpenCensusConfig.TraceContext>getIncomingTraceContextList()List of incoming trace context headers we will accept.intgetIncomingTraceContextValue(int index)List of incoming trace context headers we will accept.List<Integer>getIncomingTraceContextValueList()List of incoming trace context headers we will accept.StringgetOcagentAddress()The address of the OpenCensus Agent, if its exporter is enabled, in gRPC format: https://github.com/grpc/grpc/blob/master/doc/naming.md [#comment:TODO: deprecate this field]com.google.protobuf.ByteStringgetOcagentAddressBytes()The address of the OpenCensus Agent, if its exporter is enabled, in gRPC format: https://github.com/grpc/grpc/blob/master/doc/naming.md [#comment:TODO: deprecate this field]booleangetOcagentExporterEnabled()Enables the OpenCensus Agent exporter if set to true.GrpcServicegetOcagentGrpcService()(optional) The gRPC server hosted by the OpenCensus Agent.GrpcServiceOrBuildergetOcagentGrpcServiceOrBuilder()(optional) The gRPC server hosted by the OpenCensus Agent.OpenCensusConfig.TraceContextgetOutgoingTraceContext(int index)List of outgoing trace context headers we will produce.intgetOutgoingTraceContextCount()List of outgoing trace context headers we will produce.List<OpenCensusConfig.TraceContext>getOutgoingTraceContextList()List of outgoing trace context headers we will produce.intgetOutgoingTraceContextValue(int index)List of outgoing trace context headers we will produce.List<Integer>getOutgoingTraceContextValueList()List of outgoing trace context headers we will produce.com.google.protobuf.Parser<OpenCensusConfig>getParserForType()intgetSerializedSize()StringgetStackdriverAddress()(optional) By default, the Stackdriver exporter will connect to production Stackdriver.com.google.protobuf.ByteStringgetStackdriverAddressBytes()(optional) By default, the Stackdriver exporter will connect to production Stackdriver.booleangetStackdriverExporterEnabled()Enables the Stackdriver exporter if set to true.GrpcServicegetStackdriverGrpcService()(optional) The gRPC server that hosts Stackdriver tracing service.GrpcServiceOrBuildergetStackdriverGrpcServiceOrBuilder()(optional) The gRPC server that hosts Stackdriver tracing service.StringgetStackdriverProjectId()The Cloud project_id to use for Stackdriver tracing.com.google.protobuf.ByteStringgetStackdriverProjectIdBytes()The Cloud project_id to use for Stackdriver tracing.booleangetStdoutExporterEnabled()Enables the stdout exporter if set to true.TraceConfiggetTraceConfig()Configures tracing, e.g. the sampler, max number of annotations, etc.TraceConfigOrBuildergetTraceConfigOrBuilder()Configures tracing, e.g. the sampler, max number of annotations, etc.com.google.protobuf.UnknownFieldSetgetUnknownFields()booleangetZipkinExporterEnabled()Enables the Zipkin exporter if set to true.StringgetZipkinUrl()The URL to Zipkin, e.g.com.google.protobuf.ByteStringgetZipkinUrlBytes()The URL to Zipkin, e.g.inthashCode()booleanhasOcagentGrpcService()(optional) The gRPC server hosted by the OpenCensus Agent.booleanhasStackdriverGrpcService()(optional) The gRPC server that hosts Stackdriver tracing service.booleanhasTraceConfig()Configures tracing, e.g. the sampler, max number of annotations, etc.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static OpenCensusConfig.BuildernewBuilder()static OpenCensusConfig.BuildernewBuilder(OpenCensusConfig prototype)OpenCensusConfig.BuildernewBuilderForType()protected OpenCensusConfig.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static OpenCensusConfigparseDelimitedFrom(InputStream input)static OpenCensusConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenCensusConfigparseFrom(byte[] data)static OpenCensusConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenCensusConfigparseFrom(com.google.protobuf.ByteString data)static OpenCensusConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenCensusConfigparseFrom(com.google.protobuf.CodedInputStream input)static OpenCensusConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenCensusConfigparseFrom(InputStream input)static OpenCensusConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenCensusConfigparseFrom(ByteBuffer data)static OpenCensusConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<OpenCensusConfig>parser()OpenCensusConfig.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
TRACE_CONFIG_FIELD_NUMBER
public static final int TRACE_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STDOUT_EXPORTER_ENABLED_FIELD_NUMBER
public static final int STDOUT_EXPORTER_ENABLED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STACKDRIVER_EXPORTER_ENABLED_FIELD_NUMBER
public static final int STACKDRIVER_EXPORTER_ENABLED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STACKDRIVER_PROJECT_ID_FIELD_NUMBER
public static final int STACKDRIVER_PROJECT_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STACKDRIVER_ADDRESS_FIELD_NUMBER
public static final int STACKDRIVER_ADDRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STACKDRIVER_GRPC_SERVICE_FIELD_NUMBER
public static final int STACKDRIVER_GRPC_SERVICE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ZIPKIN_EXPORTER_ENABLED_FIELD_NUMBER
public static final int ZIPKIN_EXPORTER_ENABLED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ZIPKIN_URL_FIELD_NUMBER
public static final int ZIPKIN_URL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OCAGENT_EXPORTER_ENABLED_FIELD_NUMBER
public static final int OCAGENT_EXPORTER_ENABLED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OCAGENT_ADDRESS_FIELD_NUMBER
public static final int OCAGENT_ADDRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OCAGENT_GRPC_SERVICE_FIELD_NUMBER
public static final int OCAGENT_GRPC_SERVICE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INCOMING_TRACE_CONTEXT_FIELD_NUMBER
public static final int INCOMING_TRACE_CONTEXT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OUTGOING_TRACE_CONTEXT_FIELD_NUMBER
public static final int OUTGOING_TRACE_CONTEXT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasTraceConfig
public boolean hasTraceConfig()
Configures tracing, e.g. the sampler, max number of annotations, etc.
.opencensus.proto.trace.v1.TraceConfig trace_config = 1;- Specified by:
hasTraceConfigin interfaceOpenCensusConfigOrBuilder- Returns:
- Whether the traceConfig field is set.
-
getTraceConfig
public TraceConfig getTraceConfig()
Configures tracing, e.g. the sampler, max number of annotations, etc.
.opencensus.proto.trace.v1.TraceConfig trace_config = 1;- Specified by:
getTraceConfigin interfaceOpenCensusConfigOrBuilder- Returns:
- The traceConfig.
-
getTraceConfigOrBuilder
public TraceConfigOrBuilder getTraceConfigOrBuilder()
Configures tracing, e.g. the sampler, max number of annotations, etc.
.opencensus.proto.trace.v1.TraceConfig trace_config = 1;- Specified by:
getTraceConfigOrBuilderin interfaceOpenCensusConfigOrBuilder
-
getStdoutExporterEnabled
public boolean getStdoutExporterEnabled()
Enables the stdout exporter if set to true. This is intended for debugging purposes.
bool stdout_exporter_enabled = 2;- Specified by:
getStdoutExporterEnabledin interfaceOpenCensusConfigOrBuilder- Returns:
- The stdoutExporterEnabled.
-
getStackdriverExporterEnabled
public boolean getStackdriverExporterEnabled()
Enables the Stackdriver exporter if set to true. The project_id must also be set.
bool stackdriver_exporter_enabled = 3;- Specified by:
getStackdriverExporterEnabledin interfaceOpenCensusConfigOrBuilder- Returns:
- The stackdriverExporterEnabled.
-
getStackdriverProjectId
public String getStackdriverProjectId()
The Cloud project_id to use for Stackdriver tracing.
string stackdriver_project_id = 4;- Specified by:
getStackdriverProjectIdin interfaceOpenCensusConfigOrBuilder- Returns:
- The stackdriverProjectId.
-
getStackdriverProjectIdBytes
public com.google.protobuf.ByteString getStackdriverProjectIdBytes()
The Cloud project_id to use for Stackdriver tracing.
string stackdriver_project_id = 4;- Specified by:
getStackdriverProjectIdBytesin interfaceOpenCensusConfigOrBuilder- Returns:
- The bytes for stackdriverProjectId.
-
getStackdriverAddress
public String getStackdriverAddress()
(optional) By default, the Stackdriver exporter will connect to production Stackdriver. If stackdriver_address is non-empty, it will instead connect to this address, which is in the gRPC format: https://github.com/grpc/grpc/blob/master/doc/naming.md
string stackdriver_address = 10;- Specified by:
getStackdriverAddressin interfaceOpenCensusConfigOrBuilder- Returns:
- The stackdriverAddress.
-
getStackdriverAddressBytes
public com.google.protobuf.ByteString getStackdriverAddressBytes()
(optional) By default, the Stackdriver exporter will connect to production Stackdriver. If stackdriver_address is non-empty, it will instead connect to this address, which is in the gRPC format: https://github.com/grpc/grpc/blob/master/doc/naming.md
string stackdriver_address = 10;- Specified by:
getStackdriverAddressBytesin interfaceOpenCensusConfigOrBuilder- Returns:
- The bytes for stackdriverAddress.
-
hasStackdriverGrpcService
public boolean hasStackdriverGrpcService()
(optional) The gRPC server that hosts Stackdriver tracing service. Only Google gRPC is supported. If :ref:`target_uri <envoy_v3_api_field_config.core.v3.GrpcService.GoogleGrpc.target_uri>` is not provided, the default production Stackdriver address will be used.
.envoy.api.v2.core.GrpcService stackdriver_grpc_service = 13;- Specified by:
hasStackdriverGrpcServicein interfaceOpenCensusConfigOrBuilder- Returns:
- Whether the stackdriverGrpcService field is set.
-
getStackdriverGrpcService
public GrpcService getStackdriverGrpcService()
(optional) The gRPC server that hosts Stackdriver tracing service. Only Google gRPC is supported. If :ref:`target_uri <envoy_v3_api_field_config.core.v3.GrpcService.GoogleGrpc.target_uri>` is not provided, the default production Stackdriver address will be used.
.envoy.api.v2.core.GrpcService stackdriver_grpc_service = 13;- Specified by:
getStackdriverGrpcServicein interfaceOpenCensusConfigOrBuilder- Returns:
- The stackdriverGrpcService.
-
getStackdriverGrpcServiceOrBuilder
public GrpcServiceOrBuilder getStackdriverGrpcServiceOrBuilder()
(optional) The gRPC server that hosts Stackdriver tracing service. Only Google gRPC is supported. If :ref:`target_uri <envoy_v3_api_field_config.core.v3.GrpcService.GoogleGrpc.target_uri>` is not provided, the default production Stackdriver address will be used.
.envoy.api.v2.core.GrpcService stackdriver_grpc_service = 13;- Specified by:
getStackdriverGrpcServiceOrBuilderin interfaceOpenCensusConfigOrBuilder
-
getZipkinExporterEnabled
public boolean getZipkinExporterEnabled()
Enables the Zipkin exporter if set to true. The url and service name must also be set.
bool zipkin_exporter_enabled = 5;- Specified by:
getZipkinExporterEnabledin interfaceOpenCensusConfigOrBuilder- Returns:
- The zipkinExporterEnabled.
-
getZipkinUrl
public String getZipkinUrl()
The URL to Zipkin, e.g. "http://127.0.0.1:9411/api/v2/spans"
string zipkin_url = 6;- Specified by:
getZipkinUrlin interfaceOpenCensusConfigOrBuilder- Returns:
- The zipkinUrl.
-
getZipkinUrlBytes
public com.google.protobuf.ByteString getZipkinUrlBytes()
The URL to Zipkin, e.g. "http://127.0.0.1:9411/api/v2/spans"
string zipkin_url = 6;- Specified by:
getZipkinUrlBytesin interfaceOpenCensusConfigOrBuilder- Returns:
- The bytes for zipkinUrl.
-
getOcagentExporterEnabled
public boolean getOcagentExporterEnabled()
Enables the OpenCensus Agent exporter if set to true. The ocagent_address or ocagent_grpc_service must also be set.
bool ocagent_exporter_enabled = 11;- Specified by:
getOcagentExporterEnabledin interfaceOpenCensusConfigOrBuilder- Returns:
- The ocagentExporterEnabled.
-
getOcagentAddress
public String getOcagentAddress()
The address of the OpenCensus Agent, if its exporter is enabled, in gRPC format: https://github.com/grpc/grpc/blob/master/doc/naming.md [#comment:TODO: deprecate this field]
string ocagent_address = 12;- Specified by:
getOcagentAddressin interfaceOpenCensusConfigOrBuilder- Returns:
- The ocagentAddress.
-
getOcagentAddressBytes
public com.google.protobuf.ByteString getOcagentAddressBytes()
The address of the OpenCensus Agent, if its exporter is enabled, in gRPC format: https://github.com/grpc/grpc/blob/master/doc/naming.md [#comment:TODO: deprecate this field]
string ocagent_address = 12;- Specified by:
getOcagentAddressBytesin interfaceOpenCensusConfigOrBuilder- Returns:
- The bytes for ocagentAddress.
-
hasOcagentGrpcService
public boolean hasOcagentGrpcService()
(optional) The gRPC server hosted by the OpenCensus Agent. Only Google gRPC is supported. This is only used if the ocagent_address is left empty.
.envoy.api.v2.core.GrpcService ocagent_grpc_service = 14;- Specified by:
hasOcagentGrpcServicein interfaceOpenCensusConfigOrBuilder- Returns:
- Whether the ocagentGrpcService field is set.
-
getOcagentGrpcService
public GrpcService getOcagentGrpcService()
(optional) The gRPC server hosted by the OpenCensus Agent. Only Google gRPC is supported. This is only used if the ocagent_address is left empty.
.envoy.api.v2.core.GrpcService ocagent_grpc_service = 14;- Specified by:
getOcagentGrpcServicein interfaceOpenCensusConfigOrBuilder- Returns:
- The ocagentGrpcService.
-
getOcagentGrpcServiceOrBuilder
public GrpcServiceOrBuilder getOcagentGrpcServiceOrBuilder()
(optional) The gRPC server hosted by the OpenCensus Agent. Only Google gRPC is supported. This is only used if the ocagent_address is left empty.
.envoy.api.v2.core.GrpcService ocagent_grpc_service = 14;- Specified by:
getOcagentGrpcServiceOrBuilderin interfaceOpenCensusConfigOrBuilder
-
getIncomingTraceContextList
public List<OpenCensusConfig.TraceContext> getIncomingTraceContextList()
List of incoming trace context headers we will accept. First one found wins.
repeated .envoy.config.trace.v2.OpenCensusConfig.TraceContext incoming_trace_context = 8;- Specified by:
getIncomingTraceContextListin interfaceOpenCensusConfigOrBuilder- Returns:
- A list containing the incomingTraceContext.
-
getIncomingTraceContextCount
public int getIncomingTraceContextCount()
List of incoming trace context headers we will accept. First one found wins.
repeated .envoy.config.trace.v2.OpenCensusConfig.TraceContext incoming_trace_context = 8;- Specified by:
getIncomingTraceContextCountin interfaceOpenCensusConfigOrBuilder- Returns:
- The count of incomingTraceContext.
-
getIncomingTraceContext
public OpenCensusConfig.TraceContext getIncomingTraceContext(int index)
List of incoming trace context headers we will accept. First one found wins.
repeated .envoy.config.trace.v2.OpenCensusConfig.TraceContext incoming_trace_context = 8;- Specified by:
getIncomingTraceContextin interfaceOpenCensusConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The incomingTraceContext at the given index.
-
getIncomingTraceContextValueList
public List<Integer> getIncomingTraceContextValueList()
List of incoming trace context headers we will accept. First one found wins.
repeated .envoy.config.trace.v2.OpenCensusConfig.TraceContext incoming_trace_context = 8;- Specified by:
getIncomingTraceContextValueListin interfaceOpenCensusConfigOrBuilder- Returns:
- A list containing the enum numeric values on the wire for incomingTraceContext.
-
getIncomingTraceContextValue
public int getIncomingTraceContextValue(int index)
List of incoming trace context headers we will accept. First one found wins.
repeated .envoy.config.trace.v2.OpenCensusConfig.TraceContext incoming_trace_context = 8;- Specified by:
getIncomingTraceContextValuein interfaceOpenCensusConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of incomingTraceContext at the given index.
-
getOutgoingTraceContextList
public List<OpenCensusConfig.TraceContext> getOutgoingTraceContextList()
List of outgoing trace context headers we will produce.
repeated .envoy.config.trace.v2.OpenCensusConfig.TraceContext outgoing_trace_context = 9;- Specified by:
getOutgoingTraceContextListin interfaceOpenCensusConfigOrBuilder- Returns:
- A list containing the outgoingTraceContext.
-
getOutgoingTraceContextCount
public int getOutgoingTraceContextCount()
List of outgoing trace context headers we will produce.
repeated .envoy.config.trace.v2.OpenCensusConfig.TraceContext outgoing_trace_context = 9;- Specified by:
getOutgoingTraceContextCountin interfaceOpenCensusConfigOrBuilder- Returns:
- The count of outgoingTraceContext.
-
getOutgoingTraceContext
public OpenCensusConfig.TraceContext getOutgoingTraceContext(int index)
List of outgoing trace context headers we will produce.
repeated .envoy.config.trace.v2.OpenCensusConfig.TraceContext outgoing_trace_context = 9;- Specified by:
getOutgoingTraceContextin interfaceOpenCensusConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The outgoingTraceContext at the given index.
-
getOutgoingTraceContextValueList
public List<Integer> getOutgoingTraceContextValueList()
List of outgoing trace context headers we will produce.
repeated .envoy.config.trace.v2.OpenCensusConfig.TraceContext outgoing_trace_context = 9;- Specified by:
getOutgoingTraceContextValueListin interfaceOpenCensusConfigOrBuilder- Returns:
- A list containing the enum numeric values on the wire for outgoingTraceContext.
-
getOutgoingTraceContextValue
public int getOutgoingTraceContextValue(int index)
List of outgoing trace context headers we will produce.
repeated .envoy.config.trace.v2.OpenCensusConfig.TraceContext outgoing_trace_context = 9;- Specified by:
getOutgoingTraceContextValuein interfaceOpenCensusConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of outgoingTraceContext at the given index.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- 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 OpenCensusConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenCensusConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenCensusConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenCensusConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenCensusConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenCensusConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenCensusConfig parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OpenCensusConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OpenCensusConfig parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OpenCensusConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static OpenCensusConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OpenCensusConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public OpenCensusConfig.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static OpenCensusConfig.Builder newBuilder()
-
newBuilder
public static OpenCensusConfig.Builder newBuilder(OpenCensusConfig prototype)
-
toBuilder
public OpenCensusConfig.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected OpenCensusConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static OpenCensusConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<OpenCensusConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<OpenCensusConfig> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public OpenCensusConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-