程序包 com.google.rpc

# 接口 PreconditionFailureOrBuilder

所有超级接口:
  `com.google.protobuf.MessageLiteOrBuilder`, `com.google.protobuf.MessageOrBuilder`

所有已知实现类:
  `PreconditionFailure`, `PreconditionFailure.Builder`

public interface PreconditionFailureOrBuilder extends com.google.protobuf.MessageOrBuilder

- ## 方法概要

  修饰符和类型
  方法
  说明
  `PreconditionFailure.Violation`
  `getViolations​(int index)`
  Describes all precondition violations.
  `int`
  `getViolationsCount()`
  Describes all precondition violations.
  `List<PreconditionFailure.Violation>`
  `getViolationsList()`
  Describes all precondition violations.
  `PreconditionFailure.ViolationOrBuilder`
  `getViolationsOrBuilder​(int index)`
  Describes all precondition violations.
  `List<? extends PreconditionFailure.ViolationOrBuilder>`
  `getViolationsOrBuilderList()`
  Describes all precondition violations.

  ### 从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder

  `isInitialized`

  ### 从接口继承的方法 com.google.protobuf.MessageOrBuilder

  `findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof`

- ## 方法详细资料

  - ### getViolationsList

    List<PreconditionFailure.Violation> getViolationsList()

         Describes all precondition violations.

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

  - ### getViolations

    PreconditionFailure.Violation getViolations​(int index)

         Describes all precondition violations.

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

  - ### getViolationsCount

    int getViolationsCount()

         Describes all precondition violations.

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

  - ### getViolationsOrBuilderList

    List<? extends PreconditionFailure.ViolationOrBuilder> getViolationsOrBuilderList()

         Describes all precondition violations.

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

  - ### getViolationsOrBuilder

    PreconditionFailure.ViolationOrBuilder getViolationsOrBuilder​(int index)

         Describes all precondition violations.

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