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.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 type envoy.config.trace.v2alpha.XRayConfig
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<XRayConfig.Builder>
    • clear

      public XRayConfig.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<XRayConfig.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<XRayConfig.Builder>
    • getDefaultInstanceForType

      public XRayConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public XRayConfig build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public XRayConfig buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public XRayConfig.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<XRayConfig.Builder>
    • setField

      public XRayConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<XRayConfig.Builder>
    • clearField

      public XRayConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<XRayConfig.Builder>
    • clearOneof

      public XRayConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<XRayConfig.Builder>
    • setRepeatedField

      public XRayConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<XRayConfig.Builder>
    • addRepeatedField

      public XRayConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<XRayConfig.Builder>
    • mergeFrom

      public XRayConfig.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<XRayConfig.Builder>
    • mergeFrom

      public XRayConfig.Builder mergeFrom(XRayConfig other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      hasDaemonEndpoint in interface XRayConfigOrBuilder
      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:
      getDaemonEndpoint in interface XRayConfigOrBuilder
      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:
      getDaemonEndpointOrBuilder in interface XRayConfigOrBuilder
    • getSegmentName

      public String getSegmentName()
       The name of the X-Ray segment.
       
      string segment_name = 2 [(.validate.rules) = { ... }
      Specified by:
      getSegmentName in interface XRayConfigOrBuilder
      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:
      getSegmentNameBytes in interface XRayConfigOrBuilder
      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:
      hasSamplingRuleManifest in interface XRayConfigOrBuilder
      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:
      getSamplingRuleManifest in interface XRayConfigOrBuilder
      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:
      getSamplingRuleManifestOrBuilder in interface XRayConfigOrBuilder
    • setUnknownFields

      public final XRayConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<XRayConfig.Builder>
    • mergeUnknownFields

      public final XRayConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<XRayConfig.Builder>