Package com.google.rpc
Class 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
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,BadRequestOrBuilder
,Cloneable
- Enclosing class:
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
-
Method Summary
Modifier and TypeMethodDescriptionaddAllFieldViolations
(Iterable<? extends BadRequest.FieldViolation> values) Describes all violations in a client request.addFieldViolations
(int index, BadRequest.FieldViolation value) Describes all violations in a client request.addFieldViolations
(int index, BadRequest.FieldViolation.Builder builderForValue) Describes all violations in a client request.Describes all violations in a client request.addFieldViolations
(BadRequest.FieldViolation.Builder builderForValue) Describes all violations in a client request.Describes all violations in a client request.addFieldViolationsBuilder
(int index) Describes all violations in a client request.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Describes all violations in a client request.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getFieldViolations
(int index) Describes all violations in a client request.getFieldViolationsBuilder
(int index) Describes all violations in a client request.Describes all violations in a client request.int
Describes all violations in a client request.Describes all violations in a client request.getFieldViolationsOrBuilder
(int index) Describes all violations in a client request.List<? extends BadRequest.FieldViolationOrBuilder>
Describes all violations in a client request.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(BadRequest other) final BadRequest.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeFieldViolations
(int index) Describes all violations in a client request.setFieldViolations
(int index, BadRequest.FieldViolation value) Describes all violations in a client request.setFieldViolations
(int index, BadRequest.FieldViolation.Builder builderForValue) Describes all violations in a client request.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) final BadRequest.Builder
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<BadRequest.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<BadRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<BadRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<BadRequest.Builder>
-
setField
public BadRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BadRequest.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BadRequest.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<BadRequest.Builder>
-
setRepeatedField
public BadRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BadRequest.Builder>
-
addRepeatedField
public BadRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BadRequest.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BadRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<BadRequest.Builder>
-
mergeFrom
public BadRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BadRequest.Builder>
- Throws:
IOException
-
getFieldViolationsList
Describes all violations in a client request.
repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;
- Specified by:
getFieldViolationsList
in interfaceBadRequestOrBuilder
-
getFieldViolationsCount
public int getFieldViolationsCount()Describes all violations in a client request.
repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;
- Specified by:
getFieldViolationsCount
in interfaceBadRequestOrBuilder
-
getFieldViolations
Describes all violations in a client request.
repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;
- Specified by:
getFieldViolations
in interfaceBadRequestOrBuilder
-
setFieldViolations
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
Describes all violations in a client request.
repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;
-
addFieldViolations
Describes all violations in a client request.
repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;
-
addFieldViolations
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
Describes all violations in a client request.
repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;
-
removeFieldViolations
Describes all violations in a client request.
repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;
-
getFieldViolationsBuilder
Describes all violations in a client request.
repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;
-
getFieldViolationsOrBuilder
Describes all violations in a client request.
repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;
- Specified by:
getFieldViolationsOrBuilder
in interfaceBadRequestOrBuilder
-
getFieldViolationsOrBuilderList
Describes all violations in a client request.
repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;
- Specified by:
getFieldViolationsOrBuilderList
in interfaceBadRequestOrBuilder
-
addFieldViolationsBuilder
Describes all violations in a client request.
repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;
-
addFieldViolationsBuilder
Describes all violations in a client request.
repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;
-
getFieldViolationsBuilderList
Describes all violations in a client request.
repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;
-
setUnknownFields
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BadRequest.Builder>
-
mergeUnknownFields
public final BadRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BadRequest.Builder>
-