程序包 com.google.rpc

# 类 BadRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<BadRequest.Builder>
com.google.rpc.BadRequest.Builder

所有已实现的接口:
  `com.google.protobuf.Message.Builder`, `com.google.protobuf.MessageLite.Builder`, `com.google.protobuf.MessageLiteOrBuilder`, `com.google.protobuf.MessageOrBuilder`, `BadRequestOrBuilder`, `Cloneable`

封闭类:
  BadRequest

public static final class BadRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BadRequest.Builder> implements BadRequestOrBuilder

     Describes violations in a client request. This error type focuses on the
     syntactic aspects of the request.

Protobuf type `google.rpc.BadRequest`

- ## 方法概要

  修饰符和类型
  方法
  说明
  `BadRequest.Builder`
  `addAllFieldViolations​(Iterable<? extends BadRequest.FieldViolation> values)`
  Describes all violations in a client request.
  `BadRequest.Builder`
  `addFieldViolations​(int index, BadRequest.FieldViolation value)`
  Describes all violations in a client request.
  `BadRequest.Builder`
  `addFieldViolations​(int index, BadRequest.FieldViolation.Builder builderForValue)`
  Describes all violations in a client request.
  `BadRequest.Builder`
  `addFieldViolations​(BadRequest.FieldViolation value)`
  Describes all violations in a client request.
  `BadRequest.Builder`
  `addFieldViolations​(BadRequest.FieldViolation.Builder builderForValue)`
  Describes all violations in a client request.
  `BadRequest.FieldViolation.Builder`
  `addFieldViolationsBuilder()`
  Describes all violations in a client request.
  `BadRequest.FieldViolation.Builder`
  `addFieldViolationsBuilder​(int index)`
  Describes all violations in a client request.
  `BadRequest.Builder`
  `addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)`
  `BadRequest`
  `build()`
  `BadRequest`
  `buildPartial()`
  `BadRequest.Builder`
  `clear()`
  `BadRequest.Builder`
  `clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)`
  `BadRequest.Builder`
  `clearFieldViolations()`
  Describes all violations in a client request.
  `BadRequest.Builder`
  `clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)`
  `BadRequest.Builder`
  `clone()`
  `BadRequest`
  `getDefaultInstanceForType()`
  `static com.google.protobuf.Descriptors.Descriptor`
  `getDescriptor()`
  `com.google.protobuf.Descriptors.Descriptor`
  `getDescriptorForType()`
  `BadRequest.FieldViolation`
  `getFieldViolations​(int index)`
  Describes all violations in a client request.
  `BadRequest.FieldViolation.Builder`
  `getFieldViolationsBuilder​(int index)`
  Describes all violations in a client request.
  `List<BadRequest.FieldViolation.Builder>`
  `getFieldViolationsBuilderList()`
  Describes all violations in a client request.
  `int`
  `getFieldViolationsCount()`
  Describes all violations in a client request.
  `List<BadRequest.FieldViolation>`
  `getFieldViolationsList()`
  Describes all violations in a client request.
  `BadRequest.FieldViolationOrBuilder`
  `getFieldViolationsOrBuilder​(int index)`
  Describes all violations in a client request.
  `List<? extends BadRequest.FieldViolationOrBuilder>`
  `getFieldViolationsOrBuilderList()`
  Describes all violations in a client request.
  `protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable`
  `internalGetFieldAccessorTable()`
  `boolean`
  `isInitialized()`
  `BadRequest.Builder`
  `mergeFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)`
  `BadRequest.Builder`
  `mergeFrom​(com.google.protobuf.Message other)`
  `BadRequest.Builder`
  `mergeFrom​(BadRequest other)`
  `BadRequest.Builder`
  `mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)`
  `BadRequest.Builder`
  `removeFieldViolations​(int index)`
  Describes all violations in a client request.
  `BadRequest.Builder`
  `setField​(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)`
  `BadRequest.Builder`
  `setFieldViolations​(int index, BadRequest.FieldViolation value)`
  Describes all violations in a client request.
  `BadRequest.Builder`
  `setFieldViolations​(int index, BadRequest.FieldViolation.Builder builderForValue)`
  Describes all violations in a client request.
  `BadRequest.Builder`
  `setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)`
  `BadRequest.Builder`
  `setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)`

  ### 从类继承的方法 com.google.protobuf.GeneratedMessageV3.Builder

  `getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3`

  ### 从类继承的方法 com.google.protobuf.AbstractMessage.Builder

  `findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString`

  ### 从类继承的方法 com.google.protobuf.AbstractMessageLite.Builder

  `addAll, addAll, mergeFrom, newUninitializedMessageException`

  ### 从类继承的方法 java.lang.Object

  `equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

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

  `mergeFrom`

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

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

- ## 方法详细资料

  - ### getDescriptor

    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()

  - ### internalGetFieldAccessorTable

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
    指定者:
      `internalGetFieldAccessorTable` 在类中 `com.google.protobuf.GeneratedMessageV3.Builder<BadRequest.Builder>`

  - ### clear

    public BadRequest.Builder clear()
    指定者:
      `clear` 在接口中 `com.google.protobuf.Message.Builder`
    指定者:
      `clear` 在接口中 `com.google.protobuf.MessageLite.Builder`
    覆盖:
      `clear` 在类中 `com.google.protobuf.GeneratedMessageV3.Builder<BadRequest.Builder>`

  - ### getDescriptorForType

    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
    指定者:
      `getDescriptorForType` 在接口中 `com.google.protobuf.Message.Builder`
    指定者:
      `getDescriptorForType` 在接口中 `com.google.protobuf.MessageOrBuilder`
    覆盖:
      `getDescriptorForType` 在类中 `com.google.protobuf.GeneratedMessageV3.Builder<BadRequest.Builder>`

  - ### getDefaultInstanceForType

    public BadRequest getDefaultInstanceForType()
    指定者:
      `getDefaultInstanceForType` 在接口中 `com.google.protobuf.MessageLiteOrBuilder`
    指定者:
      `getDefaultInstanceForType` 在接口中 `com.google.protobuf.MessageOrBuilder`

  - ### build

    public BadRequest build()
    指定者:
      `build` 在接口中 `com.google.protobuf.Message.Builder`
    指定者:
      `build` 在接口中 `com.google.protobuf.MessageLite.Builder`

  - ### buildPartial

    public BadRequest buildPartial()
    指定者:
      `buildPartial` 在接口中 `com.google.protobuf.Message.Builder`
    指定者:
      `buildPartial` 在接口中 `com.google.protobuf.MessageLite.Builder`

  - ### clone

    public BadRequest.Builder clone()
    指定者:
      `clone` 在接口中 `com.google.protobuf.Message.Builder`
    指定者:
      `clone` 在接口中 `com.google.protobuf.MessageLite.Builder`
    覆盖:
      `clone` 在类中 `com.google.protobuf.GeneratedMessageV3.Builder<BadRequest.Builder>`

  - ### setField

    public BadRequest.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
    指定者:
      `setField` 在接口中 `com.google.protobuf.Message.Builder`
    覆盖:
      `setField` 在类中 `com.google.protobuf.GeneratedMessageV3.Builder<BadRequest.Builder>`

  - ### clearField

    public BadRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
    指定者:
      `clearField` 在接口中 `com.google.protobuf.Message.Builder`
    覆盖:
      `clearField` 在类中 `com.google.protobuf.GeneratedMessageV3.Builder<BadRequest.Builder>`

  - ### clearOneof

    public BadRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
    指定者:
      `clearOneof` 在接口中 `com.google.protobuf.Message.Builder`
    覆盖:
      `clearOneof` 在类中 `com.google.protobuf.GeneratedMessageV3.Builder<BadRequest.Builder>`

  - ### setRepeatedField

    public BadRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
    指定者:
      `setRepeatedField` 在接口中 `com.google.protobuf.Message.Builder`
    覆盖:
      `setRepeatedField` 在类中 `com.google.protobuf.GeneratedMessageV3.Builder<BadRequest.Builder>`

  - ### addRepeatedField

    public BadRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
    指定者:
      `addRepeatedField` 在接口中 `com.google.protobuf.Message.Builder`
    覆盖:
      `addRepeatedField` 在类中 `com.google.protobuf.GeneratedMessageV3.Builder<BadRequest.Builder>`

  - ### mergeFrom

    public BadRequest.Builder mergeFrom​(com.google.protobuf.Message other)
    指定者:
      `mergeFrom` 在接口中 `com.google.protobuf.Message.Builder`
    覆盖:
      `mergeFrom` 在类中 `com.google.protobuf.AbstractMessage.Builder<BadRequest.Builder>`

  - ### mergeFrom

    public BadRequest.Builder mergeFrom​(BadRequest other)

  - ### isInitialized

    public final boolean isInitialized()
    指定者:
      `isInitialized` 在接口中 `com.google.protobuf.MessageLiteOrBuilder`
    覆盖:
      `isInitialized` 在类中 `com.google.protobuf.GeneratedMessageV3.Builder<BadRequest.Builder>`

  - ### mergeFrom

    public BadRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
    指定者:
      `mergeFrom` 在接口中 `com.google.protobuf.Message.Builder`
    指定者:
      `mergeFrom` 在接口中 `com.google.protobuf.MessageLite.Builder`
    覆盖:
      `mergeFrom` 在类中 `com.google.protobuf.AbstractMessage.Builder<BadRequest.Builder>`
    抛出:
      `IOException`

  - ### getFieldViolationsList

    public List<BadRequest.FieldViolation> getFieldViolationsList()

         Describes all violations in a client request.

    `repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;`
    指定者:
      `getFieldViolationsList` 在接口中 `BadRequestOrBuilder`

  - ### getFieldViolationsCount

    public int getFieldViolationsCount()

         Describes all violations in a client request.

    `repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;`
    指定者:
      `getFieldViolationsCount` 在接口中 `BadRequestOrBuilder`

  - ### getFieldViolations

    public BadRequest.FieldViolation getFieldViolations​(int index)

         Describes all violations in a client request.

    `repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;`
    指定者:
      `getFieldViolations` 在接口中 `BadRequestOrBuilder`

  - ### setFieldViolations

    public BadRequest.Builder setFieldViolations​(int index, BadRequest.FieldViolation value)

         Describes all violations in a client request.

    `repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;`

  - ### setFieldViolations

    public BadRequest.Builder setFieldViolations​(int index, BadRequest.FieldViolation.Builder builderForValue)

         Describes all violations in a client request.

    `repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;`

  - ### addFieldViolations

    public BadRequest.Builder addFieldViolations​(BadRequest.FieldViolation value)

         Describes all violations in a client request.

    `repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;`

  - ### addFieldViolations

    public BadRequest.Builder addFieldViolations​(int index, BadRequest.FieldViolation value)

         Describes all violations in a client request.

    `repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;`

  - ### addFieldViolations

    public BadRequest.Builder addFieldViolations​(BadRequest.FieldViolation.Builder builderForValue)

         Describes all violations in a client request.

    `repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;`

  - ### addFieldViolations

    public BadRequest.Builder addFieldViolations​(int index, BadRequest.FieldViolation.Builder builderForValue)

         Describes all violations in a client request.

    `repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;`

  - ### addAllFieldViolations

    public BadRequest.Builder addAllFieldViolations​(Iterable<? extends BadRequest.FieldViolation> values)

         Describes all violations in a client request.

    `repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;`

  - ### clearFieldViolations

    public BadRequest.Builder clearFieldViolations()

         Describes all violations in a client request.

    `repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;`

  - ### removeFieldViolations

    public BadRequest.Builder removeFieldViolations​(int index)

         Describes all violations in a client request.

    `repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;`

  - ### getFieldViolationsBuilder

    public BadRequest.FieldViolation.Builder getFieldViolationsBuilder​(int index)

         Describes all violations in a client request.

    `repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;`

  - ### getFieldViolationsOrBuilder

    public BadRequest.FieldViolationOrBuilder getFieldViolationsOrBuilder​(int index)

         Describes all violations in a client request.

    `repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;`
    指定者:
      `getFieldViolationsOrBuilder` 在接口中 `BadRequestOrBuilder`

  - ### getFieldViolationsOrBuilderList

    public List<? extends BadRequest.FieldViolationOrBuilder> getFieldViolationsOrBuilderList()

         Describes all violations in a client request.

    `repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;`
    指定者:
      `getFieldViolationsOrBuilderList` 在接口中 `BadRequestOrBuilder`

  - ### addFieldViolationsBuilder

    public BadRequest.FieldViolation.Builder addFieldViolationsBuilder()

         Describes all violations in a client request.

    `repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;`

  - ### addFieldViolationsBuilder

    public BadRequest.FieldViolation.Builder addFieldViolationsBuilder​(int index)

         Describes all violations in a client request.

    `repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;`

  - ### getFieldViolationsBuilderList

    public List<BadRequest.FieldViolation.Builder> getFieldViolationsBuilderList()

         Describes all violations in a client request.

    `repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;`

  - ### setUnknownFields

    public final BadRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
    指定者:
      `setUnknownFields` 在接口中 `com.google.protobuf.Message.Builder`
    覆盖:
      `setUnknownFields` 在类中 `com.google.protobuf.GeneratedMessageV3.Builder<BadRequest.Builder>`

  - ### mergeUnknownFields

    public final BadRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
    指定者:
      `mergeUnknownFields` 在接口中 `com.google.protobuf.Message.Builder`
    覆盖:
      `mergeUnknownFields` 在类中 `com.google.protobuf.GeneratedMessageV3.Builder<BadRequest.Builder>`