接口 DestinationRuleOuterClass.SubsetOrBuilder
-
- 所有超级接口:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
public static interface DestinationRuleOuterClass.SubsetOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
方法概要
所有方法 实例方法 抽象方法 已过时的方法 修饰符和类型 方法 说明 booleancontainsLabels(java.lang.String key)Labels apply a filter over the endpoints of a service in the service registry.java.util.Map<java.lang.String,java.lang.String>getLabels()已过时。intgetLabelsCount()Labels apply a filter over the endpoints of a service in the service registry.java.util.Map<java.lang.String,java.lang.String>getLabelsMap()Labels apply a filter over the endpoints of a service in the service registry.java.lang.StringgetLabelsOrDefault(java.lang.String key, java.lang.String defaultValue)Labels apply a filter over the endpoints of a service in the service registry.java.lang.StringgetLabelsOrThrow(java.lang.String key)Labels apply a filter over the endpoints of a service in the service registry.java.lang.StringgetName()Name of the subset.com.google.protobuf.ByteStringgetNameBytes()Name of the subset.DestinationRuleOuterClass.TrafficPolicygetTrafficPolicy()Traffic policies that apply to this subset.DestinationRuleOuterClass.TrafficPolicyOrBuildergetTrafficPolicyOrBuilder()Traffic policies that apply to this subset.booleanhasTrafficPolicy()Traffic policies that apply to this subset.
-
-
-
方法详细资料
-
getName
java.lang.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(java.lang.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
@Deprecated java.util.Map<java.lang.String,java.lang.String> getLabels()
已过时。UsegetLabelsMap()instead.
-
getLabelsMap
java.util.Map<java.lang.String,java.lang.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
java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.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
java.lang.String getLabelsOrThrow(java.lang.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
DestinationRuleOuterClass.TrafficPolicy 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
DestinationRuleOuterClass.TrafficPolicyOrBuilder 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;
-
-