类 SidecarOuterClass.IstioIngressListener.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<SidecarOuterClass.IstioIngressListener.Builder>
-
- istio.networking.v1alpha3.SidecarOuterClass.IstioIngressListener.Builder
-
- 所有已实现的接口:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,SidecarOuterClass.IstioIngressListenerOrBuilder,java.lang.Cloneable
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 typeistio.networking.v1alpha3.IstioIngressListener
-
-
字段概要
字段 修饰符和类型 字段 说明 private java.lang.Objectbind_private intcaptureMode_private java.lang.ObjectdefaultEndpoint_private GatewayOuterClass.Portport_private com.google.protobuf.SingleFieldBuilderV3<GatewayOuterClass.Port,GatewayOuterClass.Port.Builder,GatewayOuterClass.PortOrBuilder>portBuilder_
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 SidecarOuterClass.IstioIngressListener.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)SidecarOuterClass.IstioIngressListenerbuild()SidecarOuterClass.IstioIngressListenerbuildPartial()SidecarOuterClass.IstioIngressListener.Builderclear()SidecarOuterClass.IstioIngressListener.BuilderclearBind()The IP to which the listener should be bound.SidecarOuterClass.IstioIngressListener.BuilderclearCaptureMode()The captureMode option dictates how traffic to the listener is expected to be captured (or not).SidecarOuterClass.IstioIngressListener.BuilderclearDefaultEndpoint()The IP endpoint or Unix domain socket to which traffic should be forwarded to.SidecarOuterClass.IstioIngressListener.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)SidecarOuterClass.IstioIngressListener.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)SidecarOuterClass.IstioIngressListener.BuilderclearPort()The port associated with the listener.SidecarOuterClass.IstioIngressListener.Builderclone()java.lang.StringgetBind()The IP to which the listener should be bound.com.google.protobuf.ByteStringgetBindBytes()The IP to which the listener should be bound.SidecarOuterClass.CaptureModegetCaptureMode()The captureMode option dictates how traffic to the listener is expected to be captured (or not).intgetCaptureModeValue()The captureMode option dictates how traffic to the listener is expected to be captured (or not).java.lang.StringgetDefaultEndpoint()The IP endpoint or Unix domain socket to which traffic should be forwarded to.com.google.protobuf.ByteStringgetDefaultEndpointBytes()The IP endpoint or Unix domain socket to which traffic should be forwarded to.SidecarOuterClass.IstioIngressListenergetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()GatewayOuterClass.PortgetPort()The port associated with the listener.GatewayOuterClass.Port.BuildergetPortBuilder()The port associated with the listener.private com.google.protobuf.SingleFieldBuilderV3<GatewayOuterClass.Port,GatewayOuterClass.Port.Builder,GatewayOuterClass.PortOrBuilder>getPortFieldBuilder()The port associated with the listener.GatewayOuterClass.PortOrBuildergetPortOrBuilder()The port associated with the listener.booleanhasPort()The port associated with the listener.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()SidecarOuterClass.IstioIngressListener.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)SidecarOuterClass.IstioIngressListener.BuildermergeFrom(com.google.protobuf.Message other)SidecarOuterClass.IstioIngressListener.BuildermergeFrom(SidecarOuterClass.IstioIngressListener other)SidecarOuterClass.IstioIngressListener.BuildermergePort(GatewayOuterClass.Port value)The port associated with the listener.SidecarOuterClass.IstioIngressListener.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)SidecarOuterClass.IstioIngressListener.BuildersetBind(java.lang.String value)The IP to which the listener should be bound.SidecarOuterClass.IstioIngressListener.BuildersetBindBytes(com.google.protobuf.ByteString value)The IP to which the listener should be bound.SidecarOuterClass.IstioIngressListener.BuildersetCaptureMode(SidecarOuterClass.CaptureMode value)The captureMode option dictates how traffic to the listener is expected to be captured (or not).SidecarOuterClass.IstioIngressListener.BuildersetCaptureModeValue(int value)The captureMode option dictates how traffic to the listener is expected to be captured (or not).SidecarOuterClass.IstioIngressListener.BuildersetDefaultEndpoint(java.lang.String value)The IP endpoint or Unix domain socket to which traffic should be forwarded to.SidecarOuterClass.IstioIngressListener.BuildersetDefaultEndpointBytes(com.google.protobuf.ByteString value)The IP endpoint or Unix domain socket to which traffic should be forwarded to.SidecarOuterClass.IstioIngressListener.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)SidecarOuterClass.IstioIngressListener.BuildersetPort(GatewayOuterClass.Port value)The port associated with the listener.SidecarOuterClass.IstioIngressListener.BuildersetPort(GatewayOuterClass.Port.Builder builderForValue)The port associated with the listener.SidecarOuterClass.IstioIngressListener.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)SidecarOuterClass.IstioIngressListener.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
从类继承的方法 com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
从类继承的方法 com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
-
-
-
字段详细资料
-
port_
private GatewayOuterClass.Port port_
-
portBuilder_
private com.google.protobuf.SingleFieldBuilderV3<GatewayOuterClass.Port,GatewayOuterClass.Port.Builder,GatewayOuterClass.PortOrBuilder> portBuilder_
-
bind_
private java.lang.Object bind_
-
captureMode_
private int captureMode_
-
defaultEndpoint_
private java.lang.Object defaultEndpoint_
-
-
方法详细资料
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3.Builder<SidecarOuterClass.IstioIngressListener.Builder>
-
clear
public SidecarOuterClass.IstioIngressListener.Builder clear()
- 指定者:
clear在接口中com.google.protobuf.Message.Builder- 指定者:
clear在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clear在类中com.google.protobuf.GeneratedMessageV3.Builder<SidecarOuterClass.IstioIngressListener.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- 指定者:
getDescriptorForType在接口中com.google.protobuf.Message.Builder- 指定者:
getDescriptorForType在接口中com.google.protobuf.MessageOrBuilder- 覆盖:
getDescriptorForType在类中com.google.protobuf.GeneratedMessageV3.Builder<SidecarOuterClass.IstioIngressListener.Builder>
-
getDefaultInstanceForType
public SidecarOuterClass.IstioIngressListener getDefaultInstanceForType()
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
build
public SidecarOuterClass.IstioIngressListener build()
- 指定者:
build在接口中com.google.protobuf.Message.Builder- 指定者:
build在接口中com.google.protobuf.MessageLite.Builder
-
buildPartial
public SidecarOuterClass.IstioIngressListener buildPartial()
- 指定者:
buildPartial在接口中com.google.protobuf.Message.Builder- 指定者:
buildPartial在接口中com.google.protobuf.MessageLite.Builder
-
clone
public SidecarOuterClass.IstioIngressListener.Builder clone()
- 指定者:
clone在接口中com.google.protobuf.Message.Builder- 指定者:
clone在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clone在类中com.google.protobuf.GeneratedMessageV3.Builder<SidecarOuterClass.IstioIngressListener.Builder>
-
setField
public SidecarOuterClass.IstioIngressListener.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- 指定者:
setField在接口中com.google.protobuf.Message.Builder- 覆盖:
setField在类中com.google.protobuf.GeneratedMessageV3.Builder<SidecarOuterClass.IstioIngressListener.Builder>
-
clearField
public SidecarOuterClass.IstioIngressListener.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- 指定者:
clearField在接口中com.google.protobuf.Message.Builder- 覆盖:
clearField在类中com.google.protobuf.GeneratedMessageV3.Builder<SidecarOuterClass.IstioIngressListener.Builder>
-
clearOneof
public SidecarOuterClass.IstioIngressListener.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- 指定者:
clearOneof在接口中com.google.protobuf.Message.Builder- 覆盖:
clearOneof在类中com.google.protobuf.GeneratedMessageV3.Builder<SidecarOuterClass.IstioIngressListener.Builder>
-
setRepeatedField
public SidecarOuterClass.IstioIngressListener.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- 指定者:
setRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
setRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<SidecarOuterClass.IstioIngressListener.Builder>
-
addRepeatedField
public SidecarOuterClass.IstioIngressListener.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- 指定者:
addRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
addRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<SidecarOuterClass.IstioIngressListener.Builder>
-
mergeFrom
public SidecarOuterClass.IstioIngressListener.Builder mergeFrom(com.google.protobuf.Message other)
- 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<SidecarOuterClass.IstioIngressListener.Builder>
-
mergeFrom
public SidecarOuterClass.IstioIngressListener.Builder mergeFrom(SidecarOuterClass.IstioIngressListener other)
-
isInitialized
public final boolean isInitialized()
- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3.Builder<SidecarOuterClass.IstioIngressListener.Builder>
-
mergeFrom
public SidecarOuterClass.IstioIngressListener.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 指定者:
mergeFrom在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<SidecarOuterClass.IstioIngressListener.Builder>- 抛出:
java.io.IOException
-
hasPort
public boolean hasPort()
The port associated with the listener.
.istio.networking.v1alpha3.Port port = 1 [(.google.api.field_behavior) = REQUIRED];- 指定者:
hasPort在接口中SidecarOuterClass.IstioIngressListenerOrBuilder- 返回:
- Whether the port field is set.
-
getPort
public GatewayOuterClass.Port getPort()
The port associated with the listener.
.istio.networking.v1alpha3.Port port = 1 [(.google.api.field_behavior) = REQUIRED];- 指定者:
getPort在接口中SidecarOuterClass.IstioIngressListenerOrBuilder- 返回:
- The port.
-
setPort
public SidecarOuterClass.IstioIngressListener.Builder setPort(GatewayOuterClass.Port value)
The port associated with the listener.
.istio.networking.v1alpha3.Port port = 1 [(.google.api.field_behavior) = REQUIRED];
-
setPort
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];
-
mergePort
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];
-
clearPort
public SidecarOuterClass.IstioIngressListener.Builder clearPort()
The port associated with the listener.
.istio.networking.v1alpha3.Port port = 1 [(.google.api.field_behavior) = REQUIRED];
-
getPortBuilder
public GatewayOuterClass.Port.Builder getPortBuilder()
The port associated with the listener.
.istio.networking.v1alpha3.Port port = 1 [(.google.api.field_behavior) = REQUIRED];
-
getPortOrBuilder
public GatewayOuterClass.PortOrBuilder getPortOrBuilder()
The port associated with the listener.
.istio.networking.v1alpha3.Port port = 1 [(.google.api.field_behavior) = REQUIRED];
-
getPortFieldBuilder
private com.google.protobuf.SingleFieldBuilderV3<GatewayOuterClass.Port,GatewayOuterClass.Port.Builder,GatewayOuterClass.PortOrBuilder> getPortFieldBuilder()
The port associated with the listener.
.istio.networking.v1alpha3.Port port = 1 [(.google.api.field_behavior) = REQUIRED];
-
getBind
public java.lang.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.IstioIngressListenerOrBuilder- 返回:
- The bind.
-
getBindBytes
public 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.IstioIngressListenerOrBuilder- 返回:
- The bytes for bind.
-
setBind
public SidecarOuterClass.IstioIngressListener.Builder setBind(java.lang.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.- 返回:
- This builder for chaining.
-
clearBind
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;- 返回:
- This builder for chaining.
-
setBindBytes
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.- 返回:
- This builder for chaining.
-
getCaptureModeValue
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.IstioIngressListenerOrBuilder- 返回:
- The enum numeric value on the wire for captureMode.
-
setCaptureModeValue
public 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.- 返回:
- This builder for chaining.
-
getCaptureMode
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.IstioIngressListenerOrBuilder- 返回:
- The captureMode.
-
setCaptureMode
public 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.- 返回:
- This builder for chaining.
-
clearCaptureMode
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;- 返回:
- This builder for chaining.
-
getDefaultEndpoint
public java.lang.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.IstioIngressListenerOrBuilder- 返回:
- The defaultEndpoint.
-
getDefaultEndpointBytes
public 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.IstioIngressListenerOrBuilder- 返回:
- The bytes for defaultEndpoint.
-
setDefaultEndpoint
public SidecarOuterClass.IstioIngressListener.Builder setDefaultEndpoint(java.lang.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.- 返回:
- This builder for chaining.
-
clearDefaultEndpoint
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];- 返回:
- This builder for chaining.
-
setDefaultEndpointBytes
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.- 返回:
- This builder for chaining.
-
setUnknownFields
public final SidecarOuterClass.IstioIngressListener.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- 指定者:
setUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
setUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<SidecarOuterClass.IstioIngressListener.Builder>
-
mergeUnknownFields
public final SidecarOuterClass.IstioIngressListener.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- 指定者:
mergeUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<SidecarOuterClass.IstioIngressListener.Builder>
-
-