public static final class SidecarOuterClass.IstioIngressListener.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SidecarOuterClass.IstioIngressListener.Builder> implements SidecarOuterClass.IstioIngressListenerOrBuilder
`IstioIngressListener` specifies the properties of an inbound traffic listener on the sidecar proxy attached to a workload instance.Protobuf type
istio.networking.v1alpha3.IstioIngressListener| 限定符和类型 | 方法和说明 |
|---|---|
SidecarOuterClass.IstioIngressListener.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SidecarOuterClass.IstioIngressListener |
build() |
SidecarOuterClass.IstioIngressListener |
buildPartial() |
SidecarOuterClass.IstioIngressListener.Builder |
clear() |
SidecarOuterClass.IstioIngressListener.Builder |
clearBind()
The IP to which the listener should be bound.
|
SidecarOuterClass.IstioIngressListener.Builder |
clearCaptureMode()
The captureMode option dictates how traffic to the listener is
expected to be captured (or not).
|
SidecarOuterClass.IstioIngressListener.Builder |
clearDefaultEndpoint()
The IP endpoint or Unix domain socket to which
traffic should be forwarded to.
|
SidecarOuterClass.IstioIngressListener.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
SidecarOuterClass.IstioIngressListener.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SidecarOuterClass.IstioIngressListener.Builder |
clearPort()
The port associated with the listener.
|
SidecarOuterClass.IstioIngressListener.Builder |
clone() |
String |
getBind()
The IP to which the listener should be bound.
|
com.google.protobuf.ByteString |
getBindBytes()
The IP to which the listener should be bound.
|
SidecarOuterClass.CaptureMode |
getCaptureMode()
The captureMode option dictates how traffic to the listener is
expected to be captured (or not).
|
int |
getCaptureModeValue()
The captureMode option dictates how traffic to the listener is
expected to be captured (or not).
|
String |
getDefaultEndpoint()
The IP endpoint or Unix domain socket to which
traffic should be forwarded to.
|
com.google.protobuf.ByteString |
getDefaultEndpointBytes()
The IP endpoint or Unix domain socket to which
traffic should be forwarded to.
|
SidecarOuterClass.IstioIngressListener |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
GatewayOuterClass.Port |
getPort()
The port associated with the listener.
|
GatewayOuterClass.Port.Builder |
getPortBuilder()
The port associated with the listener.
|
GatewayOuterClass.PortOrBuilder |
getPortOrBuilder()
The port associated with the listener.
|
boolean |
hasPort()
The port associated with the listener.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
SidecarOuterClass.IstioIngressListener.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SidecarOuterClass.IstioIngressListener.Builder |
mergeFrom(com.google.protobuf.Message other) |
SidecarOuterClass.IstioIngressListener.Builder |
mergeFrom(SidecarOuterClass.IstioIngressListener other) |
SidecarOuterClass.IstioIngressListener.Builder |
mergePort(GatewayOuterClass.Port value)
The port associated with the listener.
|
SidecarOuterClass.IstioIngressListener.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SidecarOuterClass.IstioIngressListener.Builder |
setBind(String value)
The IP to which the listener should be bound.
|
SidecarOuterClass.IstioIngressListener.Builder |
setBindBytes(com.google.protobuf.ByteString value)
The IP to which the listener should be bound.
|
SidecarOuterClass.IstioIngressListener.Builder |
setCaptureMode(SidecarOuterClass.CaptureMode value)
The captureMode option dictates how traffic to the listener is
expected to be captured (or not).
|
SidecarOuterClass.IstioIngressListener.Builder |
setCaptureModeValue(int value)
The captureMode option dictates how traffic to the listener is
expected to be captured (or not).
|
SidecarOuterClass.IstioIngressListener.Builder |
setDefaultEndpoint(String value)
The IP endpoint or Unix domain socket to which
traffic should be forwarded to.
|
SidecarOuterClass.IstioIngressListener.Builder |
setDefaultEndpointBytes(com.google.protobuf.ByteString value)
The IP endpoint or Unix domain socket to which
traffic should be forwarded to.
|
SidecarOuterClass.IstioIngressListener.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SidecarOuterClass.IstioIngressListener.Builder |
setPort(GatewayOuterClass.Port.Builder builderForValue)
The port associated with the listener.
|
SidecarOuterClass.IstioIngressListener.Builder |
setPort(GatewayOuterClass.Port value)
The port associated with the listener.
|
SidecarOuterClass.IstioIngressListener.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
SidecarOuterClass.IstioIngressListener.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3.Builder<SidecarOuterClass.IstioIngressListener.Builder>public SidecarOuterClass.IstioIngressListener.Builder clear()
clear 在接口中 com.google.protobuf.Message.Builderclear 在接口中 com.google.protobuf.MessageLite.Builderclear 在类中 com.google.protobuf.GeneratedMessageV3.Builder<SidecarOuterClass.IstioIngressListener.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.Message.BuildergetDescriptorForType 在接口中 com.google.protobuf.MessageOrBuildergetDescriptorForType 在类中 com.google.protobuf.GeneratedMessageV3.Builder<SidecarOuterClass.IstioIngressListener.Builder>public SidecarOuterClass.IstioIngressListener getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderpublic SidecarOuterClass.IstioIngressListener build()
build 在接口中 com.google.protobuf.Message.Builderbuild 在接口中 com.google.protobuf.MessageLite.Builderpublic SidecarOuterClass.IstioIngressListener buildPartial()
buildPartial 在接口中 com.google.protobuf.Message.BuilderbuildPartial 在接口中 com.google.protobuf.MessageLite.Builderpublic SidecarOuterClass.IstioIngressListener.Builder clone()
clone 在接口中 com.google.protobuf.Message.Builderclone 在接口中 com.google.protobuf.MessageLite.Builderclone 在类中 com.google.protobuf.GeneratedMessageV3.Builder<SidecarOuterClass.IstioIngressListener.Builder>public SidecarOuterClass.IstioIngressListener.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField 在接口中 com.google.protobuf.Message.BuildersetField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<SidecarOuterClass.IstioIngressListener.Builder>public SidecarOuterClass.IstioIngressListener.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField 在接口中 com.google.protobuf.Message.BuilderclearField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<SidecarOuterClass.IstioIngressListener.Builder>public SidecarOuterClass.IstioIngressListener.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof 在接口中 com.google.protobuf.Message.BuilderclearOneof 在类中 com.google.protobuf.GeneratedMessageV3.Builder<SidecarOuterClass.IstioIngressListener.Builder>public SidecarOuterClass.IstioIngressListener.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField 在接口中 com.google.protobuf.Message.BuildersetRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<SidecarOuterClass.IstioIngressListener.Builder>public SidecarOuterClass.IstioIngressListener.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField 在接口中 com.google.protobuf.Message.BuilderaddRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<SidecarOuterClass.IstioIngressListener.Builder>public SidecarOuterClass.IstioIngressListener.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<SidecarOuterClass.IstioIngressListener.Builder>public SidecarOuterClass.IstioIngressListener.Builder mergeFrom(SidecarOuterClass.IstioIngressListener other)
public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3.Builder<SidecarOuterClass.IstioIngressListener.Builder>public SidecarOuterClass.IstioIngressListener.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在接口中 com.google.protobuf.MessageLite.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<SidecarOuterClass.IstioIngressListener.Builder>IOExceptionpublic boolean hasPort()
The port associated with the listener.
.istio.networking.v1alpha3.Port port = 1 [(.google.api.field_behavior) = REQUIRED];hasPort 在接口中 SidecarOuterClass.IstioIngressListenerOrBuilderpublic GatewayOuterClass.Port getPort()
The port associated with the listener.
.istio.networking.v1alpha3.Port port = 1 [(.google.api.field_behavior) = REQUIRED];getPort 在接口中 SidecarOuterClass.IstioIngressListenerOrBuilderpublic SidecarOuterClass.IstioIngressListener.Builder setPort(GatewayOuterClass.Port value)
The port associated with the listener.
.istio.networking.v1alpha3.Port port = 1 [(.google.api.field_behavior) = REQUIRED];public SidecarOuterClass.IstioIngressListener.Builder setPort(GatewayOuterClass.Port.Builder builderForValue)
The port associated with the listener.
.istio.networking.v1alpha3.Port port = 1 [(.google.api.field_behavior) = REQUIRED];public SidecarOuterClass.IstioIngressListener.Builder mergePort(GatewayOuterClass.Port value)
The port associated with the listener.
.istio.networking.v1alpha3.Port port = 1 [(.google.api.field_behavior) = REQUIRED];public SidecarOuterClass.IstioIngressListener.Builder clearPort()
The port associated with the listener.
.istio.networking.v1alpha3.Port port = 1 [(.google.api.field_behavior) = REQUIRED];public GatewayOuterClass.Port.Builder getPortBuilder()
The port associated with the listener.
.istio.networking.v1alpha3.Port port = 1 [(.google.api.field_behavior) = REQUIRED];public GatewayOuterClass.PortOrBuilder getPortOrBuilder()
The port associated with the listener.
.istio.networking.v1alpha3.Port port = 1 [(.google.api.field_behavior) = REQUIRED];public String getBind()
The IP to which the listener should be bound. Must be in the format `x.x.x.x`. Unix domain socket addresses are not allowed in the bind field for ingress listeners. If omitted, Istio will automatically configure the defaults based on imported services and the workload instances to which this configuration is applied to.
string bind = 2;getBind 在接口中 SidecarOuterClass.IstioIngressListenerOrBuilderpublic com.google.protobuf.ByteString getBindBytes()
The IP to which the listener should be bound. Must be in the format `x.x.x.x`. Unix domain socket addresses are not allowed in the bind field for ingress listeners. If omitted, Istio will automatically configure the defaults based on imported services and the workload instances to which this configuration is applied to.
string bind = 2;getBindBytes 在接口中 SidecarOuterClass.IstioIngressListenerOrBuilderpublic SidecarOuterClass.IstioIngressListener.Builder setBind(String value)
The IP to which the listener should be bound. Must be in the format `x.x.x.x`. Unix domain socket addresses are not allowed in the bind field for ingress listeners. If omitted, Istio will automatically configure the defaults based on imported services and the workload instances to which this configuration is applied to.
string bind = 2;value - The bind to set.public SidecarOuterClass.IstioIngressListener.Builder clearBind()
The IP to which the listener should be bound. Must be in the format `x.x.x.x`. Unix domain socket addresses are not allowed in the bind field for ingress listeners. If omitted, Istio will automatically configure the defaults based on imported services and the workload instances to which this configuration is applied to.
string bind = 2;public SidecarOuterClass.IstioIngressListener.Builder setBindBytes(com.google.protobuf.ByteString value)
The IP to which the listener should be bound. Must be in the format `x.x.x.x`. Unix domain socket addresses are not allowed in the bind field for ingress listeners. If omitted, Istio will automatically configure the defaults based on imported services and the workload instances to which this configuration is applied to.
string bind = 2;value - The bytes for bind to set.public int getCaptureModeValue()
The captureMode option dictates how traffic to the listener is expected to be captured (or not).
.istio.networking.v1alpha3.CaptureMode capture_mode = 3;getCaptureModeValue 在接口中 SidecarOuterClass.IstioIngressListenerOrBuilderpublic SidecarOuterClass.IstioIngressListener.Builder setCaptureModeValue(int value)
The captureMode option dictates how traffic to the listener is expected to be captured (or not).
.istio.networking.v1alpha3.CaptureMode capture_mode = 3;value - The enum numeric value on the wire for captureMode to set.public SidecarOuterClass.CaptureMode getCaptureMode()
The captureMode option dictates how traffic to the listener is expected to be captured (or not).
.istio.networking.v1alpha3.CaptureMode capture_mode = 3;getCaptureMode 在接口中 SidecarOuterClass.IstioIngressListenerOrBuilderpublic SidecarOuterClass.IstioIngressListener.Builder setCaptureMode(SidecarOuterClass.CaptureMode value)
The captureMode option dictates how traffic to the listener is expected to be captured (or not).
.istio.networking.v1alpha3.CaptureMode capture_mode = 3;value - The captureMode to set.public SidecarOuterClass.IstioIngressListener.Builder clearCaptureMode()
The captureMode option dictates how traffic to the listener is expected to be captured (or not).
.istio.networking.v1alpha3.CaptureMode capture_mode = 3;public String getDefaultEndpoint()
The IP endpoint or Unix domain socket to which traffic should be forwarded to. This configuration can be used to redirect traffic arriving at the bind `IP:Port` on the sidecar to a `localhost:port` or Unix domain socket where the application workload instance is listening for connections. Arbitrary IPs are not supported. Format should be one of `127.0.0.1:PORT`, `0.0.0.0:PORT` (which will forward to the instance IP), or `unix:///path/to/socket`
string default_endpoint = 4 [(.google.api.field_behavior) = REQUIRED];getDefaultEndpoint 在接口中 SidecarOuterClass.IstioIngressListenerOrBuilderpublic com.google.protobuf.ByteString getDefaultEndpointBytes()
The IP endpoint or Unix domain socket to which traffic should be forwarded to. This configuration can be used to redirect traffic arriving at the bind `IP:Port` on the sidecar to a `localhost:port` or Unix domain socket where the application workload instance is listening for connections. Arbitrary IPs are not supported. Format should be one of `127.0.0.1:PORT`, `0.0.0.0:PORT` (which will forward to the instance IP), or `unix:///path/to/socket`
string default_endpoint = 4 [(.google.api.field_behavior) = REQUIRED];getDefaultEndpointBytes 在接口中 SidecarOuterClass.IstioIngressListenerOrBuilderpublic SidecarOuterClass.IstioIngressListener.Builder setDefaultEndpoint(String value)
The IP endpoint or Unix domain socket to which traffic should be forwarded to. This configuration can be used to redirect traffic arriving at the bind `IP:Port` on the sidecar to a `localhost:port` or Unix domain socket where the application workload instance is listening for connections. Arbitrary IPs are not supported. Format should be one of `127.0.0.1:PORT`, `0.0.0.0:PORT` (which will forward to the instance IP), or `unix:///path/to/socket`
string default_endpoint = 4 [(.google.api.field_behavior) = REQUIRED];value - The defaultEndpoint to set.public SidecarOuterClass.IstioIngressListener.Builder clearDefaultEndpoint()
The IP endpoint or Unix domain socket to which traffic should be forwarded to. This configuration can be used to redirect traffic arriving at the bind `IP:Port` on the sidecar to a `localhost:port` or Unix domain socket where the application workload instance is listening for connections. Arbitrary IPs are not supported. Format should be one of `127.0.0.1:PORT`, `0.0.0.0:PORT` (which will forward to the instance IP), or `unix:///path/to/socket`
string default_endpoint = 4 [(.google.api.field_behavior) = REQUIRED];public SidecarOuterClass.IstioIngressListener.Builder setDefaultEndpointBytes(com.google.protobuf.ByteString value)
The IP endpoint or Unix domain socket to which traffic should be forwarded to. This configuration can be used to redirect traffic arriving at the bind `IP:Port` on the sidecar to a `localhost:port` or Unix domain socket where the application workload instance is listening for connections. Arbitrary IPs are not supported. Format should be one of `127.0.0.1:PORT`, `0.0.0.0:PORT` (which will forward to the instance IP), or `unix:///path/to/socket`
string default_endpoint = 4 [(.google.api.field_behavior) = REQUIRED];value - The bytes for defaultEndpoint to set.public final SidecarOuterClass.IstioIngressListener.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields 在接口中 com.google.protobuf.Message.BuildersetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<SidecarOuterClass.IstioIngressListener.Builder>public final SidecarOuterClass.IstioIngressListener.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields 在接口中 com.google.protobuf.Message.BuildermergeUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<SidecarOuterClass.IstioIngressListener.Builder>Copyright © 2018–2023 Alibaba Group. All rights reserved.