类 SidecarOuterClass.IstioIngressListener.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<SidecarOuterClass.IstioIngressListener.Builder>
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, Cloneable
封闭类:
SidecarOuterClass.IstioIngressListener

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
  • 方法详细资料

    • 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

      指定者:
      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

      指定者:
      build 在接口中 com.google.protobuf.Message.Builder
      指定者:
      build 在接口中 com.google.protobuf.MessageLite.Builder
    • buildPartial

      指定者:
      buildPartial 在接口中 com.google.protobuf.Message.Builder
      指定者:
      buildPartial 在接口中 com.google.protobuf.MessageLite.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, 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, 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, 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

    • 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 IOException
      指定者:
      mergeFrom 在接口中 com.google.protobuf.Message.Builder
      指定者:
      mergeFrom 在接口中 com.google.protobuf.MessageLite.Builder
      覆盖:
      mergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<SidecarOuterClass.IstioIngressListener.Builder>
      抛出:
      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

       The port associated with the listener.
       
      .istio.networking.v1alpha3.Port port = 1 [(.google.api.field_behavior) = REQUIRED];
    • setPort

       The port associated with the listener.
       
      .istio.networking.v1alpha3.Port port = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergePort

       The port associated with the listener.
       
      .istio.networking.v1alpha3.Port port = 1 [(.google.api.field_behavior) = REQUIRED];
    • 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];
      指定者:
      getPortOrBuilder 在接口中 SidecarOuterClass.IstioIngressListenerOrBuilder
    • getBind

      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.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

       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

       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

       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

       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 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(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>