Interface GrpcRoute.FaultInjectionPolicyOrBuilder (0.3.0)

public static interface GrpcRoute.FaultInjectionPolicyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAbort()

public abstract GrpcRoute.FaultInjectionPolicy.Abort getAbort()

The specification for aborting to client requests.

optional .google.cloud.networkservices.v1.GrpcRoute.FaultInjectionPolicy.Abort abort = 2;

Returns
Type Description
GrpcRoute.FaultInjectionPolicy.Abort

The abort.

getAbortOrBuilder()

public abstract GrpcRoute.FaultInjectionPolicy.AbortOrBuilder getAbortOrBuilder()

The specification for aborting to client requests.

optional .google.cloud.networkservices.v1.GrpcRoute.FaultInjectionPolicy.Abort abort = 2;

Returns
Type Description
GrpcRoute.FaultInjectionPolicy.AbortOrBuilder

getDelay()

public abstract GrpcRoute.FaultInjectionPolicy.Delay getDelay()

The specification for injecting delay to client requests.

optional .google.cloud.networkservices.v1.GrpcRoute.FaultInjectionPolicy.Delay delay = 1;

Returns
Type Description
GrpcRoute.FaultInjectionPolicy.Delay

The delay.

getDelayOrBuilder()

public abstract GrpcRoute.FaultInjectionPolicy.DelayOrBuilder getDelayOrBuilder()

The specification for injecting delay to client requests.

optional .google.cloud.networkservices.v1.GrpcRoute.FaultInjectionPolicy.Delay delay = 1;

Returns
Type Description
GrpcRoute.FaultInjectionPolicy.DelayOrBuilder

hasAbort()

public abstract boolean hasAbort()

The specification for aborting to client requests.

optional .google.cloud.networkservices.v1.GrpcRoute.FaultInjectionPolicy.Abort abort = 2;

Returns
Type Description
boolean

Whether the abort field is set.

hasDelay()

public abstract boolean hasDelay()

The specification for injecting delay to client requests.

optional .google.cloud.networkservices.v1.GrpcRoute.FaultInjectionPolicy.Delay delay = 1;

Returns
Type Description
boolean

Whether the delay field is set.