接口 VirtualServiceOuterClass.RouteDestinationOrBuilder

    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型 方法 说明
      VirtualServiceOuterClass.Destination getDestination()
      Destination uniquely identifies the instances of a service to which the request/connection should be forwarded to.
      VirtualServiceOuterClass.DestinationOrBuilder getDestinationOrBuilder()
      Destination uniquely identifies the instances of a service to which the request/connection should be forwarded to.
      int getWeight()
      The proportion of traffic to be forwarded to the service version.
      boolean hasDestination()
      Destination uniquely identifies the instances of a service to which the request/connection should be forwarded to.
      • 从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder

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

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

      • hasDestination

        boolean hasDestination()
         Destination uniquely identifies the instances of a service
         to which the request/connection should be forwarded to.
         
        .istio.networking.v1alpha3.Destination destination = 1 [(.google.api.field_behavior) = REQUIRED];
        返回:
        Whether the destination field is set.
      • getDestination

        VirtualServiceOuterClass.Destination getDestination()
         Destination uniquely identifies the instances of a service
         to which the request/connection should be forwarded to.
         
        .istio.networking.v1alpha3.Destination destination = 1 [(.google.api.field_behavior) = REQUIRED];
        返回:
        The destination.
      • getDestinationOrBuilder

        VirtualServiceOuterClass.DestinationOrBuilder getDestinationOrBuilder()
         Destination uniquely identifies the instances of a service
         to which the request/connection should be forwarded to.
         
        .istio.networking.v1alpha3.Destination destination = 1 [(.google.api.field_behavior) = REQUIRED];
      • getWeight

        int getWeight()
         The proportion of traffic to be forwarded to the service
         version. If there is only one destination in a rule, all traffic will be
         routed to it irrespective of the weight.
         
        int32 weight = 2;
        返回:
        The weight.