Interface HttpRoute.RequestMirrorPolicyOrBuilder (0.23.0)

public static interface HttpRoute.RequestMirrorPolicyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDestination()

public abstract 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
Type Description
HttpRoute.Destination

The destination.

getDestinationOrBuilder()

public abstract 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;

Returns
Type Description
HttpRoute.DestinationOrBuilder

getMirrorPercent()

public abstract float getMirrorPercent()

Optional. The percentage of requests to get mirrored to the desired destination.

float mirror_percent = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
float

The mirrorPercent.

hasDestination()

public abstract 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
Type Description
boolean

Whether the destination field is set.