Package com.google.rpc
Class BadRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<BadRequest,BadRequest.Builder>
com.google.rpc.BadRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,BadRequestOrBuilder
,Cloneable
- Enclosing class:
- BadRequest
public static final class BadRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<BadRequest,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
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
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.getFieldViolations
(int index) Describes all violations in a client request.int
Describes all violations in a client request.Describes all violations in a client request.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.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getFieldViolationsList
Describes all violations in a client request.
repeated .google.rpc.BadRequest.FieldViolation field_violations = 1 [json_name = "fieldViolations"];
- Specified by:
getFieldViolationsList
in interfaceBadRequestOrBuilder
-
getFieldViolationsCount
public int getFieldViolationsCount()Describes all violations in a client request.
repeated .google.rpc.BadRequest.FieldViolation field_violations = 1 [json_name = "fieldViolations"];
- Specified by:
getFieldViolationsCount
in interfaceBadRequestOrBuilder
-
getFieldViolations
Describes all violations in a client request.
repeated .google.rpc.BadRequest.FieldViolation field_violations = 1 [json_name = "fieldViolations"];
- Specified by:
getFieldViolations
in interfaceBadRequestOrBuilder
-
setFieldViolations
Describes all violations in a client request.
repeated .google.rpc.BadRequest.FieldViolation field_violations = 1 [json_name = "fieldViolations"];
-
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 [json_name = "fieldViolations"];
-
addFieldViolations
Describes all violations in a client request.
repeated .google.rpc.BadRequest.FieldViolation field_violations = 1 [json_name = "fieldViolations"];
-
addFieldViolations
Describes all violations in a client request.
repeated .google.rpc.BadRequest.FieldViolation field_violations = 1 [json_name = "fieldViolations"];
-
addFieldViolations
Describes all violations in a client request.
repeated .google.rpc.BadRequest.FieldViolation field_violations = 1 [json_name = "fieldViolations"];
-
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 [json_name = "fieldViolations"];
-
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 [json_name = "fieldViolations"];
-
clearFieldViolations
Describes all violations in a client request.
repeated .google.rpc.BadRequest.FieldViolation field_violations = 1 [json_name = "fieldViolations"];
-
removeFieldViolations
Describes all violations in a client request.
repeated .google.rpc.BadRequest.FieldViolation field_violations = 1 [json_name = "fieldViolations"];
-