Interface PreconditionFailureOrBuilder (2.10.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
NameDescription
indexint
Returns
TypeDescription
PreconditionFailure.Violation

getViolationsCount()

public abstract int getViolationsCount()

Describes all precondition violations.

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

Returns
TypeDescription
int

getViolationsList()

public abstract List<PreconditionFailure.Violation> getViolationsList()

Describes all precondition violations.

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

Returns
TypeDescription
List<Violation>

getViolationsOrBuilder(int index)

public abstract PreconditionFailure.ViolationOrBuilder getViolationsOrBuilder(int index)

Describes all precondition violations.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
PreconditionFailure.ViolationOrBuilder

getViolationsOrBuilderList()

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

Describes all precondition violations.

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

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