Class XRayConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<XRayConfig.Builder>
io.envoyproxy.envoy.config.trace.v3.XRayConfig.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,XRayConfigOrBuilder,Cloneable
- Enclosing class:
- XRayConfig
public static final class XRayConfig.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<XRayConfig.Builder>
implements XRayConfigOrBuilder
[#extension: envoy.tracers.xray]Protobuf type
envoy.config.trace.v3.XRayConfig-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The UDP endpoint of the X-Ray Daemon where the spans will be sent.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The location of a local custom sampling rules JSON file.Optional custom fields to be added to each trace segment.The name of the X-Ray segment.clone()The UDP endpoint of the X-Ray Daemon where the spans will be sent.The UDP endpoint of the X-Ray Daemon where the spans will be sent.The UDP endpoint of the X-Ray Daemon where the spans will be sent.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe location of a local custom sampling rules JSON file.The location of a local custom sampling rules JSON file.The location of a local custom sampling rules JSON file.Optional custom fields to be added to each trace segment.Optional custom fields to be added to each trace segment.Optional custom fields to be added to each trace segment.The name of the X-Ray segment.com.google.protobuf.ByteStringThe name of the X-Ray segment.booleanThe UDP endpoint of the X-Ray Daemon where the spans will be sent.booleanThe location of a local custom sampling rules JSON file.booleanOptional custom fields to be added to each trace segment.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeDaemonEndpoint(SocketAddress value) The UDP endpoint of the X-Ray Daemon where the spans will be sent.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(XRayConfig other) The location of a local custom sampling rules JSON file.Optional custom fields to be added to each trace segment.final XRayConfig.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setDaemonEndpoint(SocketAddress value) The UDP endpoint of the X-Ray Daemon where the spans will be sent.setDaemonEndpoint(SocketAddress.Builder builderForValue) The UDP endpoint of the X-Ray Daemon where the spans will be sent.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) The location of a local custom sampling rules JSON file.setSamplingRuleManifest(DataSource.Builder builderForValue) The location of a local custom sampling rules JSON file.Optional custom fields to be added to each trace segment.setSegmentFields(XRayConfig.SegmentFields.Builder builderForValue) Optional custom fields to be added to each trace segment.setSegmentName(String value) The name of the X-Ray segment.setSegmentNameBytes(com.google.protobuf.ByteString value) The name of the X-Ray segment.final XRayConfig.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<XRayConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<XRayConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<XRayConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<XRayConfig.Builder>
-
setField
public XRayConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<XRayConfig.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<XRayConfig.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<XRayConfig.Builder>
-
setRepeatedField
public XRayConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<XRayConfig.Builder>
-
addRepeatedField
public XRayConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<XRayConfig.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<XRayConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<XRayConfig.Builder>
-
mergeFrom
public XRayConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<XRayConfig.Builder>- Throws:
IOException
-
hasDaemonEndpoint
public boolean hasDaemonEndpoint()The UDP endpoint of the X-Ray Daemon where the spans will be sent. If this value is not set, the default value of 127.0.0.1:2000 will be used.
.envoy.config.core.v3.SocketAddress daemon_endpoint = 1;- Specified by:
hasDaemonEndpointin interfaceXRayConfigOrBuilder- Returns:
- Whether the daemonEndpoint field is set.
-
getDaemonEndpoint
The UDP endpoint of the X-Ray Daemon where the spans will be sent. If this value is not set, the default value of 127.0.0.1:2000 will be used.
.envoy.config.core.v3.SocketAddress daemon_endpoint = 1;- Specified by:
getDaemonEndpointin interfaceXRayConfigOrBuilder- Returns:
- The daemonEndpoint.
-
setDaemonEndpoint
The UDP endpoint of the X-Ray Daemon where the spans will be sent. If this value is not set, the default value of 127.0.0.1:2000 will be used.
.envoy.config.core.v3.SocketAddress daemon_endpoint = 1; -
setDaemonEndpoint
The UDP endpoint of the X-Ray Daemon where the spans will be sent. If this value is not set, the default value of 127.0.0.1:2000 will be used.
.envoy.config.core.v3.SocketAddress daemon_endpoint = 1; -
mergeDaemonEndpoint
The UDP endpoint of the X-Ray Daemon where the spans will be sent. If this value is not set, the default value of 127.0.0.1:2000 will be used.
.envoy.config.core.v3.SocketAddress daemon_endpoint = 1; -
clearDaemonEndpoint
The UDP endpoint of the X-Ray Daemon where the spans will be sent. If this value is not set, the default value of 127.0.0.1:2000 will be used.
.envoy.config.core.v3.SocketAddress daemon_endpoint = 1; -
getDaemonEndpointBuilder
The UDP endpoint of the X-Ray Daemon where the spans will be sent. If this value is not set, the default value of 127.0.0.1:2000 will be used.
.envoy.config.core.v3.SocketAddress daemon_endpoint = 1; -
getDaemonEndpointOrBuilder
The UDP endpoint of the X-Ray Daemon where the spans will be sent. If this value is not set, the default value of 127.0.0.1:2000 will be used.
.envoy.config.core.v3.SocketAddress daemon_endpoint = 1;- Specified by:
getDaemonEndpointOrBuilderin interfaceXRayConfigOrBuilder
-
getSegmentName
The name of the X-Ray segment.
string segment_name = 2 [(.validate.rules) = { ... }- Specified by:
getSegmentNamein interfaceXRayConfigOrBuilder- Returns:
- The segmentName.
-
getSegmentNameBytes
public com.google.protobuf.ByteString getSegmentNameBytes()The name of the X-Ray segment.
string segment_name = 2 [(.validate.rules) = { ... }- Specified by:
getSegmentNameBytesin interfaceXRayConfigOrBuilder- Returns:
- The bytes for segmentName.
-
setSegmentName
The name of the X-Ray segment.
string segment_name = 2 [(.validate.rules) = { ... }- Parameters:
value- The segmentName to set.- Returns:
- This builder for chaining.
-
clearSegmentName
The name of the X-Ray segment.
string segment_name = 2 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setSegmentNameBytes
The name of the X-Ray segment.
string segment_name = 2 [(.validate.rules) = { ... }- Parameters:
value- The bytes for segmentName to set.- Returns:
- This builder for chaining.
-
hasSamplingRuleManifest
public boolean hasSamplingRuleManifest()The location of a local custom sampling rules JSON file. For an example of the sampling rules see: `X-Ray SDK documentation <https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-go-configuration.html#xray-sdk-go-configuration-sampling>`_
.envoy.config.core.v3.DataSource sampling_rule_manifest = 3;- Specified by:
hasSamplingRuleManifestin interfaceXRayConfigOrBuilder- Returns:
- Whether the samplingRuleManifest field is set.
-
getSamplingRuleManifest
The location of a local custom sampling rules JSON file. For an example of the sampling rules see: `X-Ray SDK documentation <https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-go-configuration.html#xray-sdk-go-configuration-sampling>`_
.envoy.config.core.v3.DataSource sampling_rule_manifest = 3;- Specified by:
getSamplingRuleManifestin interfaceXRayConfigOrBuilder- Returns:
- The samplingRuleManifest.
-
setSamplingRuleManifest
The location of a local custom sampling rules JSON file. For an example of the sampling rules see: `X-Ray SDK documentation <https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-go-configuration.html#xray-sdk-go-configuration-sampling>`_
.envoy.config.core.v3.DataSource sampling_rule_manifest = 3; -
setSamplingRuleManifest
The location of a local custom sampling rules JSON file. For an example of the sampling rules see: `X-Ray SDK documentation <https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-go-configuration.html#xray-sdk-go-configuration-sampling>`_
.envoy.config.core.v3.DataSource sampling_rule_manifest = 3; -
mergeSamplingRuleManifest
The location of a local custom sampling rules JSON file. For an example of the sampling rules see: `X-Ray SDK documentation <https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-go-configuration.html#xray-sdk-go-configuration-sampling>`_
.envoy.config.core.v3.DataSource sampling_rule_manifest = 3; -
clearSamplingRuleManifest
The location of a local custom sampling rules JSON file. For an example of the sampling rules see: `X-Ray SDK documentation <https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-go-configuration.html#xray-sdk-go-configuration-sampling>`_
.envoy.config.core.v3.DataSource sampling_rule_manifest = 3; -
getSamplingRuleManifestBuilder
The location of a local custom sampling rules JSON file. For an example of the sampling rules see: `X-Ray SDK documentation <https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-go-configuration.html#xray-sdk-go-configuration-sampling>`_
.envoy.config.core.v3.DataSource sampling_rule_manifest = 3; -
getSamplingRuleManifestOrBuilder
The location of a local custom sampling rules JSON file. For an example of the sampling rules see: `X-Ray SDK documentation <https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-go-configuration.html#xray-sdk-go-configuration-sampling>`_
.envoy.config.core.v3.DataSource sampling_rule_manifest = 3;- Specified by:
getSamplingRuleManifestOrBuilderin interfaceXRayConfigOrBuilder
-
hasSegmentFields
public boolean hasSegmentFields()Optional custom fields to be added to each trace segment. see: `X-Ray Segment Document documentation <https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html>`__
.envoy.config.trace.v3.XRayConfig.SegmentFields segment_fields = 4;- Specified by:
hasSegmentFieldsin interfaceXRayConfigOrBuilder- Returns:
- Whether the segmentFields field is set.
-
getSegmentFields
Optional custom fields to be added to each trace segment. see: `X-Ray Segment Document documentation <https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html>`__
.envoy.config.trace.v3.XRayConfig.SegmentFields segment_fields = 4;- Specified by:
getSegmentFieldsin interfaceXRayConfigOrBuilder- Returns:
- The segmentFields.
-
setSegmentFields
Optional custom fields to be added to each trace segment. see: `X-Ray Segment Document documentation <https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html>`__
.envoy.config.trace.v3.XRayConfig.SegmentFields segment_fields = 4; -
setSegmentFields
Optional custom fields to be added to each trace segment. see: `X-Ray Segment Document documentation <https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html>`__
.envoy.config.trace.v3.XRayConfig.SegmentFields segment_fields = 4; -
mergeSegmentFields
Optional custom fields to be added to each trace segment. see: `X-Ray Segment Document documentation <https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html>`__
.envoy.config.trace.v3.XRayConfig.SegmentFields segment_fields = 4; -
clearSegmentFields
Optional custom fields to be added to each trace segment. see: `X-Ray Segment Document documentation <https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html>`__
.envoy.config.trace.v3.XRayConfig.SegmentFields segment_fields = 4; -
getSegmentFieldsBuilder
Optional custom fields to be added to each trace segment. see: `X-Ray Segment Document documentation <https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html>`__
.envoy.config.trace.v3.XRayConfig.SegmentFields segment_fields = 4; -
getSegmentFieldsOrBuilder
Optional custom fields to be added to each trace segment. see: `X-Ray Segment Document documentation <https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html>`__
.envoy.config.trace.v3.XRayConfig.SegmentFields segment_fields = 4;- Specified by:
getSegmentFieldsOrBuilderin interfaceXRayConfigOrBuilder
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<XRayConfig.Builder>
-
mergeUnknownFields
public final XRayConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<XRayConfig.Builder>
-