接口 VirtualServiceOuterClass.HTTPRouteDestinationOrBuilder
- 所有超级接口:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- 所有已知实现类:
VirtualServiceOuterClass.HTTPRouteDestination,VirtualServiceOuterClass.HTTPRouteDestination.Builder
public static interface VirtualServiceOuterClass.HTTPRouteDestinationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
方法概要
修饰符和类型方法说明Destination uniquely identifies the instances of a service to which the request/connection should be forwarded to.Destination uniquely identifies the instances of a service to which the request/connection should be forwarded to.Header manipulation rulesHeader manipulation rulesintThe proportion of traffic to be forwarded to the service version. (0-100).booleanDestination uniquely identifies the instances of a service to which the request/connection should be forwarded to.booleanHeader manipulation rules从接口继承的方法 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. (0-100). Sum of weights across destinations SHOULD BE == 100. If there is only one destination in a rule, the weight value is assumed to be 100.
int32 weight = 2;- 返回:
- The weight.
-
hasHeaders
boolean hasHeaders()Header manipulation rules
.istio.networking.v1alpha3.Headers headers = 7;- 返回:
- Whether the headers field is set.
-
getHeaders
VirtualServiceOuterClass.Headers getHeaders()Header manipulation rules
.istio.networking.v1alpha3.Headers headers = 7;- 返回:
- The headers.
-
getHeadersOrBuilder
VirtualServiceOuterClass.HeadersOrBuilder getHeadersOrBuilder()Header manipulation rules
.istio.networking.v1alpha3.Headers headers = 7;
-