Class XRayConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<XRayConfig.Builder>
-
- io.envoyproxy.envoy.config.trace.v2alpha.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
Protobuf typeenvoy.config.trace.v2alpha.XRayConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description XRayConfig.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)XRayConfigbuild()XRayConfigbuildPartial()XRayConfig.Builderclear()XRayConfig.BuilderclearDaemonEndpoint()The UDP endpoint of the X-Ray Daemon where the spans will be sent.XRayConfig.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)XRayConfig.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)XRayConfig.BuilderclearSamplingRuleManifest()The location of a local custom sampling rules JSON file.XRayConfig.BuilderclearSegmentName()The name of the X-Ray segment.XRayConfig.Builderclone()SocketAddressgetDaemonEndpoint()The UDP endpoint of the X-Ray Daemon where the spans will be sent.SocketAddress.BuildergetDaemonEndpointBuilder()The UDP endpoint of the X-Ray Daemon where the spans will be sent.SocketAddressOrBuildergetDaemonEndpointOrBuilder()The UDP endpoint of the X-Ray Daemon where the spans will be sent.XRayConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()DataSourcegetSamplingRuleManifest()The location of a local custom sampling rules JSON file.DataSource.BuildergetSamplingRuleManifestBuilder()The location of a local custom sampling rules JSON file.DataSourceOrBuildergetSamplingRuleManifestOrBuilder()The location of a local custom sampling rules JSON file.StringgetSegmentName()The name of the X-Ray segment.com.google.protobuf.ByteStringgetSegmentNameBytes()The name of the X-Ray segment.booleanhasDaemonEndpoint()The UDP endpoint of the X-Ray Daemon where the spans will be sent.booleanhasSamplingRuleManifest()The location of a local custom sampling rules JSON file.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()XRayConfig.BuildermergeDaemonEndpoint(SocketAddress value)The UDP endpoint of the X-Ray Daemon where the spans will be sent.XRayConfig.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)XRayConfig.BuildermergeFrom(com.google.protobuf.Message other)XRayConfig.BuildermergeFrom(XRayConfig other)XRayConfig.BuildermergeSamplingRuleManifest(DataSource value)The location of a local custom sampling rules JSON file.XRayConfig.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)XRayConfig.BuildersetDaemonEndpoint(SocketAddress value)The UDP endpoint of the X-Ray Daemon where the spans will be sent.XRayConfig.BuildersetDaemonEndpoint(SocketAddress.Builder builderForValue)The UDP endpoint of the X-Ray Daemon where the spans will be sent.XRayConfig.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)XRayConfig.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)XRayConfig.BuildersetSamplingRuleManifest(DataSource value)The location of a local custom sampling rules JSON file.XRayConfig.BuildersetSamplingRuleManifest(DataSource.Builder builderForValue)The location of a local custom sampling rules JSON file.XRayConfig.BuildersetSegmentName(String value)The name of the X-Ray segment.XRayConfig.BuildersetSegmentNameBytes(com.google.protobuf.ByteString value)The name of the X-Ray segment.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, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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
public 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
public XRayConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public XRayConfig build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public XRayConfig buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public XRayConfig.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
public XRayConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<XRayConfig.Builder>
-
clearOneof
public XRayConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- 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
public XRayConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<XRayConfig.Builder>
-
mergeFrom
public XRayConfig.Builder mergeFrom(XRayConfig other)
-
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.api.v2.core.SocketAddress daemon_endpoint = 1;- Specified by:
hasDaemonEndpointin interfaceXRayConfigOrBuilder- Returns:
- Whether the daemonEndpoint field is set.
-
getDaemonEndpoint
public SocketAddress 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.api.v2.core.SocketAddress daemon_endpoint = 1;- Specified by:
getDaemonEndpointin interfaceXRayConfigOrBuilder- Returns:
- The daemonEndpoint.
-
setDaemonEndpoint
public XRayConfig.Builder setDaemonEndpoint(SocketAddress value)
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.api.v2.core.SocketAddress daemon_endpoint = 1;
-
setDaemonEndpoint
public XRayConfig.Builder setDaemonEndpoint(SocketAddress.Builder builderForValue)
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.api.v2.core.SocketAddress daemon_endpoint = 1;
-
mergeDaemonEndpoint
public XRayConfig.Builder mergeDaemonEndpoint(SocketAddress value)
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.api.v2.core.SocketAddress daemon_endpoint = 1;
-
clearDaemonEndpoint
public XRayConfig.Builder 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.api.v2.core.SocketAddress daemon_endpoint = 1;
-
getDaemonEndpointBuilder
public SocketAddress.Builder 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.api.v2.core.SocketAddress daemon_endpoint = 1;
-
getDaemonEndpointOrBuilder
public SocketAddressOrBuilder 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.api.v2.core.SocketAddress daemon_endpoint = 1;- Specified by:
getDaemonEndpointOrBuilderin interfaceXRayConfigOrBuilder
-
getSegmentName
public String 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
public XRayConfig.Builder setSegmentName(String value)
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
public XRayConfig.Builder clearSegmentName()
The name of the X-Ray segment.
string segment_name = 2 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setSegmentNameBytes
public XRayConfig.Builder setSegmentNameBytes(com.google.protobuf.ByteString value)
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.api.v2.core.DataSource sampling_rule_manifest = 3;- Specified by:
hasSamplingRuleManifestin interfaceXRayConfigOrBuilder- Returns:
- Whether the samplingRuleManifest field is set.
-
getSamplingRuleManifest
public DataSource 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.api.v2.core.DataSource sampling_rule_manifest = 3;- Specified by:
getSamplingRuleManifestin interfaceXRayConfigOrBuilder- Returns:
- The samplingRuleManifest.
-
setSamplingRuleManifest
public XRayConfig.Builder setSamplingRuleManifest(DataSource value)
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.api.v2.core.DataSource sampling_rule_manifest = 3;
-
setSamplingRuleManifest
public XRayConfig.Builder setSamplingRuleManifest(DataSource.Builder builderForValue)
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.api.v2.core.DataSource sampling_rule_manifest = 3;
-
mergeSamplingRuleManifest
public XRayConfig.Builder mergeSamplingRuleManifest(DataSource value)
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.api.v2.core.DataSource sampling_rule_manifest = 3;
-
clearSamplingRuleManifest
public XRayConfig.Builder 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.api.v2.core.DataSource sampling_rule_manifest = 3;
-
getSamplingRuleManifestBuilder
public DataSource.Builder 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.api.v2.core.DataSource sampling_rule_manifest = 3;
-
getSamplingRuleManifestOrBuilder
public DataSourceOrBuilder 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.api.v2.core.DataSource sampling_rule_manifest = 3;- Specified by:
getSamplingRuleManifestOrBuilderin interfaceXRayConfigOrBuilder
-
setUnknownFields
public final XRayConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- 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>
-
-