Class UpstreamReverseConnectionSocketInterface.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<UpstreamReverseConnectionSocketInterface.Builder>
io.envoyproxy.envoy.extensions.bootstrap.reverse_tunnel.upstream_socket_interface.v3.UpstreamReverseConnectionSocketInterface.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, UpstreamReverseConnectionSocketInterfaceOrBuilder, Cloneable
Enclosing class:
UpstreamReverseConnectionSocketInterface

public static final class UpstreamReverseConnectionSocketInterface.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UpstreamReverseConnectionSocketInterface.Builder> implements UpstreamReverseConnectionSocketInterfaceOrBuilder
 Configuration for the upstream reverse connection socket interface.
 
Protobuf type envoy.extensions.bootstrap.reverse_tunnel.upstream_socket_interface.v3.UpstreamReverseConnectionSocketInterface
  • 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<UpstreamReverseConnectionSocketInterface.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<UpstreamReverseConnectionSocketInterface.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<UpstreamReverseConnectionSocketInterface.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<UpstreamReverseConnectionSocketInterface.Builder>
    • setField

      public UpstreamReverseConnectionSocketInterface.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<UpstreamReverseConnectionSocketInterface.Builder>
    • clearField

      public UpstreamReverseConnectionSocketInterface.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<UpstreamReverseConnectionSocketInterface.Builder>
    • clearOneof

      public UpstreamReverseConnectionSocketInterface.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<UpstreamReverseConnectionSocketInterface.Builder>
    • setRepeatedField

      public UpstreamReverseConnectionSocketInterface.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<UpstreamReverseConnectionSocketInterface.Builder>
    • addRepeatedField

      public UpstreamReverseConnectionSocketInterface.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<UpstreamReverseConnectionSocketInterface.Builder>
    • mergeFrom

      public UpstreamReverseConnectionSocketInterface.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<UpstreamReverseConnectionSocketInterface.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<UpstreamReverseConnectionSocketInterface.Builder>
    • mergeFrom

      public UpstreamReverseConnectionSocketInterface.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<UpstreamReverseConnectionSocketInterface.Builder>
      Throws:
      IOException
    • getStatPrefix

      public String getStatPrefix()
       Stat prefix for upstream reverse connection socket interface stats.
       
      string stat_prefix = 1;
      Specified by:
      getStatPrefix in interface UpstreamReverseConnectionSocketInterfaceOrBuilder
      Returns:
      The statPrefix.
    • getStatPrefixBytes

      public com.google.protobuf.ByteString getStatPrefixBytes()
       Stat prefix for upstream reverse connection socket interface stats.
       
      string stat_prefix = 1;
      Specified by:
      getStatPrefixBytes in interface UpstreamReverseConnectionSocketInterfaceOrBuilder
      Returns:
      The bytes for statPrefix.
    • setStatPrefix

       Stat prefix for upstream reverse connection socket interface stats.
       
      string stat_prefix = 1;
      Parameters:
      value - The statPrefix to set.
      Returns:
      This builder for chaining.
    • clearStatPrefix

       Stat prefix for upstream reverse connection socket interface stats.
       
      string stat_prefix = 1;
      Returns:
      This builder for chaining.
    • setStatPrefixBytes

      public UpstreamReverseConnectionSocketInterface.Builder setStatPrefixBytes(com.google.protobuf.ByteString value)
       Stat prefix for upstream reverse connection socket interface stats.
       
      string stat_prefix = 1;
      Parameters:
      value - The bytes for statPrefix to set.
      Returns:
      This builder for chaining.
    • hasPingFailureThreshold

      public boolean hasPingFailureThreshold()
       Number of consecutive ping failures before an idle reverse connection socket is marked dead.
       Defaults to 3 if unset. Must be at least 1.
       
      .google.protobuf.UInt32Value ping_failure_threshold = 2 [(.validate.rules) = { ... }
      Specified by:
      hasPingFailureThreshold in interface UpstreamReverseConnectionSocketInterfaceOrBuilder
      Returns:
      Whether the pingFailureThreshold field is set.
    • getPingFailureThreshold

      public com.google.protobuf.UInt32Value getPingFailureThreshold()
       Number of consecutive ping failures before an idle reverse connection socket is marked dead.
       Defaults to 3 if unset. Must be at least 1.
       
      .google.protobuf.UInt32Value ping_failure_threshold = 2 [(.validate.rules) = { ... }
      Specified by:
      getPingFailureThreshold in interface UpstreamReverseConnectionSocketInterfaceOrBuilder
      Returns:
      The pingFailureThreshold.
    • setPingFailureThreshold

      public UpstreamReverseConnectionSocketInterface.Builder setPingFailureThreshold(com.google.protobuf.UInt32Value value)
       Number of consecutive ping failures before an idle reverse connection socket is marked dead.
       Defaults to 3 if unset. Must be at least 1.
       
      .google.protobuf.UInt32Value ping_failure_threshold = 2 [(.validate.rules) = { ... }
    • setPingFailureThreshold

      public UpstreamReverseConnectionSocketInterface.Builder setPingFailureThreshold(com.google.protobuf.UInt32Value.Builder builderForValue)
       Number of consecutive ping failures before an idle reverse connection socket is marked dead.
       Defaults to 3 if unset. Must be at least 1.
       
      .google.protobuf.UInt32Value ping_failure_threshold = 2 [(.validate.rules) = { ... }
    • mergePingFailureThreshold

      public UpstreamReverseConnectionSocketInterface.Builder mergePingFailureThreshold(com.google.protobuf.UInt32Value value)
       Number of consecutive ping failures before an idle reverse connection socket is marked dead.
       Defaults to 3 if unset. Must be at least 1.
       
      .google.protobuf.UInt32Value ping_failure_threshold = 2 [(.validate.rules) = { ... }
    • clearPingFailureThreshold

      public UpstreamReverseConnectionSocketInterface.Builder clearPingFailureThreshold()
       Number of consecutive ping failures before an idle reverse connection socket is marked dead.
       Defaults to 3 if unset. Must be at least 1.
       
      .google.protobuf.UInt32Value ping_failure_threshold = 2 [(.validate.rules) = { ... }
    • getPingFailureThresholdBuilder

      public com.google.protobuf.UInt32Value.Builder getPingFailureThresholdBuilder()
       Number of consecutive ping failures before an idle reverse connection socket is marked dead.
       Defaults to 3 if unset. Must be at least 1.
       
      .google.protobuf.UInt32Value ping_failure_threshold = 2 [(.validate.rules) = { ... }
    • getPingFailureThresholdOrBuilder

      public com.google.protobuf.UInt32ValueOrBuilder getPingFailureThresholdOrBuilder()
       Number of consecutive ping failures before an idle reverse connection socket is marked dead.
       Defaults to 3 if unset. Must be at least 1.
       
      .google.protobuf.UInt32Value ping_failure_threshold = 2 [(.validate.rules) = { ... }
      Specified by:
      getPingFailureThresholdOrBuilder in interface UpstreamReverseConnectionSocketInterfaceOrBuilder
    • getEnableDetailedStats

      public boolean getEnableDetailedStats()
       Enable detailed per-node and per-cluster statistics.
       When enabled, emits hidden statistics for individual nodes and clusters.
       Defaults to false.
       
      bool enable_detailed_stats = 3;
      Specified by:
      getEnableDetailedStats in interface UpstreamReverseConnectionSocketInterfaceOrBuilder
      Returns:
      The enableDetailedStats.
    • setEnableDetailedStats

      public UpstreamReverseConnectionSocketInterface.Builder setEnableDetailedStats(boolean value)
       Enable detailed per-node and per-cluster statistics.
       When enabled, emits hidden statistics for individual nodes and clusters.
       Defaults to false.
       
      bool enable_detailed_stats = 3;
      Parameters:
      value - The enableDetailedStats to set.
      Returns:
      This builder for chaining.
    • clearEnableDetailedStats

      public UpstreamReverseConnectionSocketInterface.Builder clearEnableDetailedStats()
       Enable detailed per-node and per-cluster statistics.
       When enabled, emits hidden statistics for individual nodes and clusters.
       Defaults to false.
       
      bool enable_detailed_stats = 3;
      Returns:
      This builder for chaining.
    • hasReporterConfig

      public boolean hasReporterConfig()
       Optional configuration for a tunnel reporting extension. When provided,
       the socket interface instantiates a reporter via the configured factory.
       If unset, no reporting is done.
       
      .envoy.config.core.v3.TypedExtensionConfig reporter_config = 4;
      Specified by:
      hasReporterConfig in interface UpstreamReverseConnectionSocketInterfaceOrBuilder
      Returns:
      Whether the reporterConfig field is set.
    • getReporterConfig

      public TypedExtensionConfig getReporterConfig()
       Optional configuration for a tunnel reporting extension. When provided,
       the socket interface instantiates a reporter via the configured factory.
       If unset, no reporting is done.
       
      .envoy.config.core.v3.TypedExtensionConfig reporter_config = 4;
      Specified by:
      getReporterConfig in interface UpstreamReverseConnectionSocketInterfaceOrBuilder
      Returns:
      The reporterConfig.
    • setReporterConfig

       Optional configuration for a tunnel reporting extension. When provided,
       the socket interface instantiates a reporter via the configured factory.
       If unset, no reporting is done.
       
      .envoy.config.core.v3.TypedExtensionConfig reporter_config = 4;
    • setReporterConfig

       Optional configuration for a tunnel reporting extension. When provided,
       the socket interface instantiates a reporter via the configured factory.
       If unset, no reporting is done.
       
      .envoy.config.core.v3.TypedExtensionConfig reporter_config = 4;
    • mergeReporterConfig

       Optional configuration for a tunnel reporting extension. When provided,
       the socket interface instantiates a reporter via the configured factory.
       If unset, no reporting is done.
       
      .envoy.config.core.v3.TypedExtensionConfig reporter_config = 4;
    • clearReporterConfig

       Optional configuration for a tunnel reporting extension. When provided,
       the socket interface instantiates a reporter via the configured factory.
       If unset, no reporting is done.
       
      .envoy.config.core.v3.TypedExtensionConfig reporter_config = 4;
    • getReporterConfigBuilder

      public TypedExtensionConfig.Builder getReporterConfigBuilder()
       Optional configuration for a tunnel reporting extension. When provided,
       the socket interface instantiates a reporter via the configured factory.
       If unset, no reporting is done.
       
      .envoy.config.core.v3.TypedExtensionConfig reporter_config = 4;
    • getReporterConfigOrBuilder

      public TypedExtensionConfigOrBuilder getReporterConfigOrBuilder()
       Optional configuration for a tunnel reporting extension. When provided,
       the socket interface instantiates a reporter via the configured factory.
       If unset, no reporting is done.
       
      .envoy.config.core.v3.TypedExtensionConfig reporter_config = 4;
      Specified by:
      getReporterConfigOrBuilder in interface UpstreamReverseConnectionSocketInterfaceOrBuilder
    • setUnknownFields

      public final UpstreamReverseConnectionSocketInterface.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<UpstreamReverseConnectionSocketInterface.Builder>
    • mergeUnknownFields

      public final UpstreamReverseConnectionSocketInterface.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<UpstreamReverseConnectionSocketInterface.Builder>