Interface HttpRoute.RequestMirrorPolicyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HttpRoute.RequestMirrorPolicy,HttpRoute.RequestMirrorPolicy.Builder
- Enclosing class:
- HttpRoute
public static interface HttpRoute.RequestMirrorPolicyOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe destination the requests will be mirrored to.The destination the requests will be mirrored to.floatOptional.booleanThe destination the requests will be mirrored to.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasDestination
boolean hasDestination()The destination the requests will be mirrored to. The weight of the destination will be ignored.
.google.cloud.networkservices.v1.HttpRoute.Destination destination = 1;- Returns:
- Whether the destination field is set.
-
getDestination
HttpRoute.Destination getDestination()The destination the requests will be mirrored to. The weight of the destination will be ignored.
.google.cloud.networkservices.v1.HttpRoute.Destination destination = 1;- Returns:
- The destination.
-
getDestinationOrBuilder
HttpRoute.DestinationOrBuilder getDestinationOrBuilder()The destination the requests will be mirrored to. The weight of the destination will be ignored.
.google.cloud.networkservices.v1.HttpRoute.Destination destination = 1; -
getMirrorPercent
float getMirrorPercent()Optional. The percentage of requests to get mirrored to the desired destination.
float mirror_percent = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The mirrorPercent.
-