Package io.envoyproxy.envoy.api.v2
Class Listener.DeprecatedV1.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- 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 typeenvoy.api.v2.Listener.DeprecatedV1
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Listener.DeprecatedV1.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Listener.DeprecatedV1build()Listener.DeprecatedV1buildPartial()Listener.DeprecatedV1.Builderclear()Listener.DeprecatedV1.BuilderclearBindToPort()Whether the listener should bind to the port.Listener.DeprecatedV1.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Listener.DeprecatedV1.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Listener.DeprecatedV1.Builderclone()com.google.protobuf.BoolValuegetBindToPort()Whether the listener should bind to the port.com.google.protobuf.BoolValue.BuildergetBindToPortBuilder()Whether the listener should bind to the port.com.google.protobuf.BoolValueOrBuildergetBindToPortOrBuilder()Whether the listener should bind to the port.Listener.DeprecatedV1getDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()booleanhasBindToPort()Whether the listener should bind to the port.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Listener.DeprecatedV1.BuildermergeBindToPort(com.google.protobuf.BoolValue value)Whether the listener should bind to the port.Listener.DeprecatedV1.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Listener.DeprecatedV1.BuildermergeFrom(com.google.protobuf.Message other)Listener.DeprecatedV1.BuildermergeFrom(Listener.DeprecatedV1 other)Listener.DeprecatedV1.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Listener.DeprecatedV1.BuildersetBindToPort(com.google.protobuf.BoolValue value)Whether the listener should bind to the port.Listener.DeprecatedV1.BuildersetBindToPort(com.google.protobuf.BoolValue.Builder builderForValue)Whether the listener should bind to the port.Listener.DeprecatedV1.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Listener.DeprecatedV1.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Listener.DeprecatedV1.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<Listener.DeprecatedV1.Builder>
-
clear
public Listener.DeprecatedV1.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<Listener.DeprecatedV1.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<Listener.DeprecatedV1.Builder>
-
getDefaultInstanceForType
public Listener.DeprecatedV1 getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Listener.DeprecatedV1 build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Listener.DeprecatedV1 buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Listener.DeprecatedV1.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<Listener.DeprecatedV1.Builder>
-
setField
public Listener.DeprecatedV1.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<Listener.DeprecatedV1.Builder>
-
clearField
public Listener.DeprecatedV1.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Listener.DeprecatedV1.Builder>
-
clearOneof
public Listener.DeprecatedV1.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Listener.DeprecatedV1.Builder>
-
addRepeatedField
public Listener.DeprecatedV1.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<Listener.DeprecatedV1.Builder>
-
mergeFrom
public Listener.DeprecatedV1.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Listener.DeprecatedV1.Builder>
-
mergeFrom
public Listener.DeprecatedV1.Builder mergeFrom(Listener.DeprecatedV1 other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
hasBindToPortin interfaceListener.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:
getBindToPortin interfaceListener.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:
getBindToPortOrBuilderin interfaceListener.DeprecatedV1OrBuilder
-
setUnknownFields
public final Listener.DeprecatedV1.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Listener.DeprecatedV1.Builder>
-
mergeUnknownFields
public final Listener.DeprecatedV1.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Listener.DeprecatedV1.Builder>
-
-