Interface PreconditionFailureOrBuilder (2.43.0)

public interface PreconditionFailureOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getViolations(int index)

public abstract PreconditionFailure.Violation getViolations(int index)

Describes all precondition violations.

repeated .google.rpc.PreconditionFailure.Violation violations = 1;

Parameter
Name Description
index int
Returns
Type Description
PreconditionFailure.Violation

getViolationsCount()

public abstract int getViolationsCount()

Describes all precondition violations.

repeated .google.rpc.PreconditionFailure.Violation violations = 1;

Returns
Type Description
int

getViolationsList()

public abstract List<PreconditionFailure.Violation> getViolationsList()

Describes all precondition violations.

repeated .google.rpc.PreconditionFailure.Violation violations = 1;

Returns
Type Description
List<Violation>

getViolationsOrBuilder(int index)

public abstract PreconditionFailure.ViolationOrBuilder getViolationsOrBuilder(int index)

Describes all precondition violations.

repeated .google.rpc.PreconditionFailure.Violation violations = 1;

Parameter
Name Description
index int
Returns
Type Description
PreconditionFailure.ViolationOrBuilder

getViolationsOrBuilderList()

public abstract List<? extends PreconditionFailure.ViolationOrBuilder> getViolationsOrBuilderList()

Describes all precondition violations.

repeated .google.rpc.PreconditionFailure.Violation violations = 1;

Returns
Type Description
List<? extends com.google.rpc.PreconditionFailure.ViolationOrBuilder>