接口 DestinationRuleOuterClass.SubsetOrBuilder

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

public static interface DestinationRuleOuterClass.SubsetOrBuilder extends com.google.protobuf.MessageOrBuilder
  • 方法详细资料

    • getName

      String getName()
       Name of the subset. The service name and the subset name can
       be used for traffic splitting in a route rule.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      返回:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Name of the subset. The service name and the subset name can
       be used for traffic splitting in a route rule.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      返回:
      The bytes for name.
    • getLabelsCount

      int getLabelsCount()
       Labels apply a filter over the endpoints of a service in the
       service registry. See route rules for examples of usage.
       
      map<string, string> labels = 2;
    • containsLabels

      boolean containsLabels(String key)
       Labels apply a filter over the endpoints of a service in the
       service registry. See route rules for examples of usage.
       
      map<string, string> labels = 2;
    • getLabels

      已过时。
      Use getLabelsMap() instead.
    • getLabelsMap

      Map<String,String> getLabelsMap()
       Labels apply a filter over the endpoints of a service in the
       service registry. See route rules for examples of usage.
       
      map<string, string> labels = 2;
    • getLabelsOrDefault

      String getLabelsOrDefault(String key, String defaultValue)
       Labels apply a filter over the endpoints of a service in the
       service registry. See route rules for examples of usage.
       
      map<string, string> labels = 2;
    • getLabelsOrThrow

      String getLabelsOrThrow(String key)
       Labels apply a filter over the endpoints of a service in the
       service registry. See route rules for examples of usage.
       
      map<string, string> labels = 2;
    • hasTrafficPolicy

      boolean hasTrafficPolicy()
       Traffic policies that apply to this subset. Subsets inherit the
       traffic policies specified at the DestinationRule level. Settings
       specified at the subset level will override the corresponding settings
       specified at the DestinationRule level.
       
      .istio.networking.v1alpha3.TrafficPolicy traffic_policy = 3;
      返回:
      Whether the trafficPolicy field is set.
    • getTrafficPolicy

       Traffic policies that apply to this subset. Subsets inherit the
       traffic policies specified at the DestinationRule level. Settings
       specified at the subset level will override the corresponding settings
       specified at the DestinationRule level.
       
      .istio.networking.v1alpha3.TrafficPolicy traffic_policy = 3;
      返回:
      The trafficPolicy.
    • getTrafficPolicyOrBuilder

       Traffic policies that apply to this subset. Subsets inherit the
       traffic policies specified at the DestinationRule level. Settings
       specified at the subset level will override the corresponding settings
       specified at the DestinationRule level.
       
      .istio.networking.v1alpha3.TrafficPolicy traffic_policy = 3;