接口 GatewayOuterClass.ServerOrBuilder

    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型 方法 说明
      java.lang.String getBind()
      $hide_from_docs The ip or the Unix domain socket to which the listener should be bound to.
      com.google.protobuf.ByteString getBindBytes()
      $hide_from_docs The ip or the Unix domain socket to which the listener should be bound to.
      java.lang.String getDefaultEndpoint()
      The loopback IP endpoint or Unix domain socket to which traffic should be forwarded to by default.
      com.google.protobuf.ByteString getDefaultEndpointBytes()
      The loopback IP endpoint or Unix domain socket to which traffic should be forwarded to by default.
      java.lang.String getHosts​(int index)
      One or more hosts exposed by this gateway.
      com.google.protobuf.ByteString getHostsBytes​(int index)
      One or more hosts exposed by this gateway.
      int getHostsCount()
      One or more hosts exposed by this gateway.
      java.util.List<java.lang.String> getHostsList()
      One or more hosts exposed by this gateway.
      java.lang.String getName()
      An optional name of the server, when set must be unique across all servers.
      com.google.protobuf.ByteString getNameBytes()
      An optional name of the server, when set must be unique across all servers.
      GatewayOuterClass.Port getPort()
      The Port on which the proxy should listen for incoming connections.
      GatewayOuterClass.PortOrBuilder getPortOrBuilder()
      The Port on which the proxy should listen for incoming connections.
      GatewayOuterClass.ServerTLSSettings getTls()
      Set of TLS related options that govern the server's behavior.
      GatewayOuterClass.ServerTLSSettingsOrBuilder getTlsOrBuilder()
      Set of TLS related options that govern the server's behavior.
      boolean hasPort()
      The Port on which the proxy should listen for incoming connections.
      boolean hasTls()
      Set of TLS related options that govern the server's behavior.
      • 从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • 从接口继承的方法 com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • 方法详细资料

      • hasPort

        boolean hasPort()
         The Port on which the proxy should listen for incoming
         connections.
         
        .istio.networking.v1alpha3.Port port = 1 [(.google.api.field_behavior) = REQUIRED];
        返回:
        Whether the port field is set.
      • getPort

        GatewayOuterClass.Port getPort()
         The Port on which the proxy should listen for incoming
         connections.
         
        .istio.networking.v1alpha3.Port port = 1 [(.google.api.field_behavior) = REQUIRED];
        返回:
        The port.
      • getPortOrBuilder

        GatewayOuterClass.PortOrBuilder getPortOrBuilder()
         The Port on which the proxy should listen for incoming
         connections.
         
        .istio.networking.v1alpha3.Port port = 1 [(.google.api.field_behavior) = REQUIRED];
      • getBind

        java.lang.String getBind()
         $hide_from_docs
         The ip or the Unix domain socket to which the listener should be bound
         to. Format: `x.x.x.x` or `unix:///path/to/uds` or `unix://@foobar`
         (Linux abstract namespace). When using Unix domain sockets, the port
         number should be 0.
         
        string bind = 4;
        返回:
        The bind.
      • getBindBytes

        com.google.protobuf.ByteString getBindBytes()
         $hide_from_docs
         The ip or the Unix domain socket to which the listener should be bound
         to. Format: `x.x.x.x` or `unix:///path/to/uds` or `unix://@foobar`
         (Linux abstract namespace). When using Unix domain sockets, the port
         number should be 0.
         
        string bind = 4;
        返回:
        The bytes for bind.
      • getHostsList

        java.util.List<java.lang.String> getHostsList()
         One or more hosts exposed by this gateway.
         While typically applicable to
         HTTP services, it can also be used for TCP services using TLS with SNI.
         A host is specified as a `dnsName` with an optional `namespace/` prefix.
         The `dnsName` should be specified using FQDN format, optionally including
         a wildcard character in the left-most component (e.g., `prod/*.example.com`).
         Set the `dnsName` to `*` to select all `VirtualService` hosts from the
         specified namespace (e.g.,`prod/*`).
         The `namespace` can be set to `*` or `.`, representing any or the current
         namespace, respectively. For example, `*/foo.example.com` selects the
         service from any available namespace while `./foo.example.com` only selects
         the service from the namespace of the sidecar. The default, if no `namespace/`
         is specified, is `*/`, that is, select services from any namespace.
         Any associated `DestinationRule` in the selected namespace will also be used.
         A `VirtualService` must be bound to the gateway and must have one or
         more hosts that match the hosts specified in a server. The match
         could be an exact match or a suffix match with the server's hosts. For
         example, if the server's hosts specifies `*.example.com`, a
         `VirtualService` with hosts `dev.example.com` or `prod.example.com` will
         match. However, a `VirtualService` with host `example.com` or
         `newexample.com` will not match.
         NOTE: Only virtual services exported to the gateway's namespace
         (e.g., `exportTo` value of `*`) can be referenced.
         Private configurations (e.g., `exportTo` set to `.`) will not be
         available. Refer to the `exportTo` setting in `VirtualService`,
         `DestinationRule`, and `ServiceEntry` configurations for details.
         
        repeated string hosts = 2 [(.google.api.field_behavior) = REQUIRED];
        返回:
        A list containing the hosts.
      • getHostsCount

        int getHostsCount()
         One or more hosts exposed by this gateway.
         While typically applicable to
         HTTP services, it can also be used for TCP services using TLS with SNI.
         A host is specified as a `dnsName` with an optional `namespace/` prefix.
         The `dnsName` should be specified using FQDN format, optionally including
         a wildcard character in the left-most component (e.g., `prod/*.example.com`).
         Set the `dnsName` to `*` to select all `VirtualService` hosts from the
         specified namespace (e.g.,`prod/*`).
         The `namespace` can be set to `*` or `.`, representing any or the current
         namespace, respectively. For example, `*/foo.example.com` selects the
         service from any available namespace while `./foo.example.com` only selects
         the service from the namespace of the sidecar. The default, if no `namespace/`
         is specified, is `*/`, that is, select services from any namespace.
         Any associated `DestinationRule` in the selected namespace will also be used.
         A `VirtualService` must be bound to the gateway and must have one or
         more hosts that match the hosts specified in a server. The match
         could be an exact match or a suffix match with the server's hosts. For
         example, if the server's hosts specifies `*.example.com`, a
         `VirtualService` with hosts `dev.example.com` or `prod.example.com` will
         match. However, a `VirtualService` with host `example.com` or
         `newexample.com` will not match.
         NOTE: Only virtual services exported to the gateway's namespace
         (e.g., `exportTo` value of `*`) can be referenced.
         Private configurations (e.g., `exportTo` set to `.`) will not be
         available. Refer to the `exportTo` setting in `VirtualService`,
         `DestinationRule`, and `ServiceEntry` configurations for details.
         
        repeated string hosts = 2 [(.google.api.field_behavior) = REQUIRED];
        返回:
        The count of hosts.
      • getHosts

        java.lang.String getHosts​(int index)
         One or more hosts exposed by this gateway.
         While typically applicable to
         HTTP services, it can also be used for TCP services using TLS with SNI.
         A host is specified as a `dnsName` with an optional `namespace/` prefix.
         The `dnsName` should be specified using FQDN format, optionally including
         a wildcard character in the left-most component (e.g., `prod/*.example.com`).
         Set the `dnsName` to `*` to select all `VirtualService` hosts from the
         specified namespace (e.g.,`prod/*`).
         The `namespace` can be set to `*` or `.`, representing any or the current
         namespace, respectively. For example, `*/foo.example.com` selects the
         service from any available namespace while `./foo.example.com` only selects
         the service from the namespace of the sidecar. The default, if no `namespace/`
         is specified, is `*/`, that is, select services from any namespace.
         Any associated `DestinationRule` in the selected namespace will also be used.
         A `VirtualService` must be bound to the gateway and must have one or
         more hosts that match the hosts specified in a server. The match
         could be an exact match or a suffix match with the server's hosts. For
         example, if the server's hosts specifies `*.example.com`, a
         `VirtualService` with hosts `dev.example.com` or `prod.example.com` will
         match. However, a `VirtualService` with host `example.com` or
         `newexample.com` will not match.
         NOTE: Only virtual services exported to the gateway's namespace
         (e.g., `exportTo` value of `*`) can be referenced.
         Private configurations (e.g., `exportTo` set to `.`) will not be
         available. Refer to the `exportTo` setting in `VirtualService`,
         `DestinationRule`, and `ServiceEntry` configurations for details.
         
        repeated string hosts = 2 [(.google.api.field_behavior) = REQUIRED];
        参数:
        index - The index of the element to return.
        返回:
        The hosts at the given index.
      • getHostsBytes

        com.google.protobuf.ByteString getHostsBytes​(int index)
         One or more hosts exposed by this gateway.
         While typically applicable to
         HTTP services, it can also be used for TCP services using TLS with SNI.
         A host is specified as a `dnsName` with an optional `namespace/` prefix.
         The `dnsName` should be specified using FQDN format, optionally including
         a wildcard character in the left-most component (e.g., `prod/*.example.com`).
         Set the `dnsName` to `*` to select all `VirtualService` hosts from the
         specified namespace (e.g.,`prod/*`).
         The `namespace` can be set to `*` or `.`, representing any or the current
         namespace, respectively. For example, `*/foo.example.com` selects the
         service from any available namespace while `./foo.example.com` only selects
         the service from the namespace of the sidecar. The default, if no `namespace/`
         is specified, is `*/`, that is, select services from any namespace.
         Any associated `DestinationRule` in the selected namespace will also be used.
         A `VirtualService` must be bound to the gateway and must have one or
         more hosts that match the hosts specified in a server. The match
         could be an exact match or a suffix match with the server's hosts. For
         example, if the server's hosts specifies `*.example.com`, a
         `VirtualService` with hosts `dev.example.com` or `prod.example.com` will
         match. However, a `VirtualService` with host `example.com` or
         `newexample.com` will not match.
         NOTE: Only virtual services exported to the gateway's namespace
         (e.g., `exportTo` value of `*`) can be referenced.
         Private configurations (e.g., `exportTo` set to `.`) will not be
         available. Refer to the `exportTo` setting in `VirtualService`,
         `DestinationRule`, and `ServiceEntry` configurations for details.
         
        repeated string hosts = 2 [(.google.api.field_behavior) = REQUIRED];
        参数:
        index - The index of the value to return.
        返回:
        The bytes of the hosts at the given index.
      • hasTls

        boolean hasTls()
         Set of TLS related options that govern the server's behavior. Use
         these options to control if all http requests should be redirected to
         https, and the TLS modes to use.
         
        .istio.networking.v1alpha3.ServerTLSSettings tls = 3;
        返回:
        Whether the tls field is set.
      • getTls

        GatewayOuterClass.ServerTLSSettings getTls()
         Set of TLS related options that govern the server's behavior. Use
         these options to control if all http requests should be redirected to
         https, and the TLS modes to use.
         
        .istio.networking.v1alpha3.ServerTLSSettings tls = 3;
        返回:
        The tls.
      • getTlsOrBuilder

        GatewayOuterClass.ServerTLSSettingsOrBuilder getTlsOrBuilder()
         Set of TLS related options that govern the server's behavior. Use
         these options to control if all http requests should be redirected to
         https, and the TLS modes to use.
         
        .istio.networking.v1alpha3.ServerTLSSettings tls = 3;
      • getDefaultEndpoint

        java.lang.String getDefaultEndpoint()
         The loopback IP endpoint or Unix domain socket to which traffic should
         be forwarded to by default. Format should be `127.0.0.1:PORT` or
         `unix:///path/to/socket` or `unix://@foobar` (Linux abstract namespace).
         NOT IMPLEMENTED.
         $hide_from_docs
         
        string default_endpoint = 5;
        返回:
        The defaultEndpoint.
      • getDefaultEndpointBytes

        com.google.protobuf.ByteString getDefaultEndpointBytes()
         The loopback IP endpoint or Unix domain socket to which traffic should
         be forwarded to by default. Format should be `127.0.0.1:PORT` or
         `unix:///path/to/socket` or `unix://@foobar` (Linux abstract namespace).
         NOT IMPLEMENTED.
         $hide_from_docs
         
        string default_endpoint = 5;
        返回:
        The bytes for defaultEndpoint.
      • getName

        java.lang.String getName()
         An optional name of the server, when set must be unique across all servers.
         This will be used for variety of purposes like prefixing stats generated with
         this name etc.
         
        string name = 6;
        返回:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         An optional name of the server, when set must be unique across all servers.
         This will be used for variety of purposes like prefixing stats generated with
         this name etc.
         
        string name = 6;
        返回:
        The bytes for name.