Class Listener.DeprecatedV1.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Listener.DeprecatedV1.Builder>
io.envoyproxy.envoy.api.v2.Listener.DeprecatedV1.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Listener.DeprecatedV1OrBuilder, Cloneable
Enclosing class:
Listener.DeprecatedV1

public static final class Listener.DeprecatedV1.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Listener.DeprecatedV1.Builder> implements Listener.DeprecatedV1OrBuilder
 [#not-implemented-hide:]
 
Protobuf type envoy.api.v2.Listener.DeprecatedV1
  • 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<Listener.DeprecatedV1.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<Listener.DeprecatedV1.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<Listener.DeprecatedV1.Builder>
    • getDefaultInstanceForType

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

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

      public Listener.DeprecatedV1 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<Listener.DeprecatedV1.Builder>
    • setField

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

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

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

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

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

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

      public Listener.DeprecatedV1.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<Listener.DeprecatedV1.Builder>
      Throws:
      IOException
    • hasBindToPort

      public boolean hasBindToPort()
       Whether the listener should bind to the port. A listener that doesn't
       bind can only receive connections redirected from other listeners that
       set use_original_dst parameter to true. Default is true.
      
       This is deprecated in v2, all Listeners will bind to their port. An
       additional filter chain must be created for every original destination
       port this listener may redirect to in v2, with the original port
       specified in the FilterChainMatch destination_port field.
      
       [#comment:TODO(PiotrSikora): Remove this once verified that we no longer need it.]
       
      .google.protobuf.BoolValue bind_to_port = 1;
      Specified by:
      hasBindToPort in interface Listener.DeprecatedV1OrBuilder
      Returns:
      Whether the bindToPort field is set.
    • getBindToPort

      public com.google.protobuf.BoolValue getBindToPort()
       Whether the listener should bind to the port. A listener that doesn't
       bind can only receive connections redirected from other listeners that
       set use_original_dst parameter to true. Default is true.
      
       This is deprecated in v2, all Listeners will bind to their port. An
       additional filter chain must be created for every original destination
       port this listener may redirect to in v2, with the original port
       specified in the FilterChainMatch destination_port field.
      
       [#comment:TODO(PiotrSikora): Remove this once verified that we no longer need it.]
       
      .google.protobuf.BoolValue bind_to_port = 1;
      Specified by:
      getBindToPort in interface Listener.DeprecatedV1OrBuilder
      Returns:
      The bindToPort.
    • setBindToPort

      public Listener.DeprecatedV1.Builder setBindToPort(com.google.protobuf.BoolValue value)
       Whether the listener should bind to the port. A listener that doesn't
       bind can only receive connections redirected from other listeners that
       set use_original_dst parameter to true. Default is true.
      
       This is deprecated in v2, all Listeners will bind to their port. An
       additional filter chain must be created for every original destination
       port this listener may redirect to in v2, with the original port
       specified in the FilterChainMatch destination_port field.
      
       [#comment:TODO(PiotrSikora): Remove this once verified that we no longer need it.]
       
      .google.protobuf.BoolValue bind_to_port = 1;
    • setBindToPort

      public Listener.DeprecatedV1.Builder setBindToPort(com.google.protobuf.BoolValue.Builder builderForValue)
       Whether the listener should bind to the port. A listener that doesn't
       bind can only receive connections redirected from other listeners that
       set use_original_dst parameter to true. Default is true.
      
       This is deprecated in v2, all Listeners will bind to their port. An
       additional filter chain must be created for every original destination
       port this listener may redirect to in v2, with the original port
       specified in the FilterChainMatch destination_port field.
      
       [#comment:TODO(PiotrSikora): Remove this once verified that we no longer need it.]
       
      .google.protobuf.BoolValue bind_to_port = 1;
    • mergeBindToPort

      public Listener.DeprecatedV1.Builder mergeBindToPort(com.google.protobuf.BoolValue value)
       Whether the listener should bind to the port. A listener that doesn't
       bind can only receive connections redirected from other listeners that
       set use_original_dst parameter to true. Default is true.
      
       This is deprecated in v2, all Listeners will bind to their port. An
       additional filter chain must be created for every original destination
       port this listener may redirect to in v2, with the original port
       specified in the FilterChainMatch destination_port field.
      
       [#comment:TODO(PiotrSikora): Remove this once verified that we no longer need it.]
       
      .google.protobuf.BoolValue bind_to_port = 1;
    • clearBindToPort

      public Listener.DeprecatedV1.Builder clearBindToPort()
       Whether the listener should bind to the port. A listener that doesn't
       bind can only receive connections redirected from other listeners that
       set use_original_dst parameter to true. Default is true.
      
       This is deprecated in v2, all Listeners will bind to their port. An
       additional filter chain must be created for every original destination
       port this listener may redirect to in v2, with the original port
       specified in the FilterChainMatch destination_port field.
      
       [#comment:TODO(PiotrSikora): Remove this once verified that we no longer need it.]
       
      .google.protobuf.BoolValue bind_to_port = 1;
    • getBindToPortBuilder

      public com.google.protobuf.BoolValue.Builder getBindToPortBuilder()
       Whether the listener should bind to the port. A listener that doesn't
       bind can only receive connections redirected from other listeners that
       set use_original_dst parameter to true. Default is true.
      
       This is deprecated in v2, all Listeners will bind to their port. An
       additional filter chain must be created for every original destination
       port this listener may redirect to in v2, with the original port
       specified in the FilterChainMatch destination_port field.
      
       [#comment:TODO(PiotrSikora): Remove this once verified that we no longer need it.]
       
      .google.protobuf.BoolValue bind_to_port = 1;
    • getBindToPortOrBuilder

      public com.google.protobuf.BoolValueOrBuilder getBindToPortOrBuilder()
       Whether the listener should bind to the port. A listener that doesn't
       bind can only receive connections redirected from other listeners that
       set use_original_dst parameter to true. Default is true.
      
       This is deprecated in v2, all Listeners will bind to their port. An
       additional filter chain must be created for every original destination
       port this listener may redirect to in v2, with the original port
       specified in the FilterChainMatch destination_port field.
      
       [#comment:TODO(PiotrSikora): Remove this once verified that we no longer need it.]
       
      .google.protobuf.BoolValue bind_to_port = 1;
      Specified by:
      getBindToPortOrBuilder in interface Listener.DeprecatedV1OrBuilder
    • setUnknownFields

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

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