Package io.envoyproxy.envoy.api.v2
Interface Listener.DeprecatedV1OrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Listener.DeprecatedV1,Listener.DeprecatedV1.Builder
- Enclosing class:
- Listener
public static interface Listener.DeprecatedV1OrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.BoolValueWhether the listener should bind to the port.com.google.protobuf.BoolValueOrBuilderWhether the listener should bind to the port.booleanWhether the listener should bind to the port.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasBindToPort
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;- Returns:
- Whether the bindToPort field is set.
-
getBindToPort
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;- Returns:
- The bindToPort.
-
getBindToPortOrBuilder
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;
-