接口 VirtualServiceOuterClass.DestinationOrBuilder

所有超级接口:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
所有已知实现类:
VirtualServiceOuterClass.Destination, VirtualServiceOuterClass.Destination.Builder
封闭类:
VirtualServiceOuterClass

public static interface VirtualServiceOuterClass.DestinationOrBuilder extends com.google.protobuf.MessageOrBuilder
  • 方法概要

    修饰符和类型
    方法
    说明
    The name of a service from the service registry.
    com.google.protobuf.ByteString
    The name of a service from the service registry.
    Specifies the port on the host that is being addressed.
    Specifies the port on the host that is being addressed.
    The name of a subset within the service.
    com.google.protobuf.ByteString
    The name of a subset within the service.
    boolean
    Specifies the port on the host that is being addressed.

    从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder

    isInitialized

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

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

    • getHost

      String getHost()
       The name of a service from the service registry. Service
       names are looked up from the platform's service registry (e.g.,
       Kubernetes services, Consul services, etc.) and from the hosts
       declared by [ServiceEntry](https://istio.io/docs/reference/config/networking/service-entry/#ServiceEntry). Traffic forwarded to
       destinations that are not found in either of the two, will be dropped.
      
       *Note for Kubernetes users*: When short names are used (e.g. "reviews"
       instead of "reviews.default.svc.cluster.local"), Istio will interpret
       the short name based on the namespace of the rule, not the service. A
       rule in the "default" namespace containing a host "reviews will be
       interpreted as "reviews.default.svc.cluster.local", irrespective of
       the actual namespace associated with the reviews service. To avoid
       potential misconfiguration, it is recommended to always use fully
       qualified domain names over short names.
       
      string host = 1 [(.google.api.field_behavior) = REQUIRED];
      返回:
      The host.
    • getHostBytes

      com.google.protobuf.ByteString getHostBytes()
       The name of a service from the service registry. Service
       names are looked up from the platform's service registry (e.g.,
       Kubernetes services, Consul services, etc.) and from the hosts
       declared by [ServiceEntry](https://istio.io/docs/reference/config/networking/service-entry/#ServiceEntry). Traffic forwarded to
       destinations that are not found in either of the two, will be dropped.
      
       *Note for Kubernetes users*: When short names are used (e.g. "reviews"
       instead of "reviews.default.svc.cluster.local"), Istio will interpret
       the short name based on the namespace of the rule, not the service. A
       rule in the "default" namespace containing a host "reviews will be
       interpreted as "reviews.default.svc.cluster.local", irrespective of
       the actual namespace associated with the reviews service. To avoid
       potential misconfiguration, it is recommended to always use fully
       qualified domain names over short names.
       
      string host = 1 [(.google.api.field_behavior) = REQUIRED];
      返回:
      The bytes for host.
    • getSubset

      String getSubset()
       The name of a subset within the service. Applicable only to services
       within the mesh. The subset must be defined in a corresponding
       DestinationRule.
       
      string subset = 2;
      返回:
      The subset.
    • getSubsetBytes

      com.google.protobuf.ByteString getSubsetBytes()
       The name of a subset within the service. Applicable only to services
       within the mesh. The subset must be defined in a corresponding
       DestinationRule.
       
      string subset = 2;
      返回:
      The bytes for subset.
    • hasPort

      boolean hasPort()
       Specifies the port on the host that is being addressed. If a service
       exposes only a single port it is not required to explicitly select the
       port.
       
      .istio.networking.v1alpha3.PortSelector port = 3;
      返回:
      Whether the port field is set.
    • getPort

       Specifies the port on the host that is being addressed. If a service
       exposes only a single port it is not required to explicitly select the
       port.
       
      .istio.networking.v1alpha3.PortSelector port = 3;
      返回:
      The port.
    • getPortOrBuilder

       Specifies the port on the host that is being addressed. If a service
       exposes only a single port it is not required to explicitly select the
       port.
       
      .istio.networking.v1alpha3.PortSelector port = 3;