类 SidecarOuterClass.IstioIngressListener.Builder

    • 构造器详细资料

      • Builder

        private Builder()
      • Builder

        private Builder​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
    • 方法详细资料

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

        public GatewayOuterClass.Port.Builder getPortBuilder()
         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.
      • 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.