public final class BadRequest extends GeneratedMessageV3 implements BadRequestOrBuilder
Describes violations in a client request. This error type focuses on the
syntactic aspects of the request.
Protobuf type google.rpc.BadRequest
Static Fields
FIELD_VIOLATIONS_FIELD_NUMBER
public static final int FIELD_VIOLATIONS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static BadRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static BadRequest.Builder newBuilder()
Returns
newBuilder(BadRequest prototype)
public static BadRequest.Builder newBuilder(BadRequest prototype)
Parameter
Returns
public static BadRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static BadRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static BadRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BadRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static BadRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BadRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BadRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static BadRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BadRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static BadRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static BadRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BadRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<BadRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public BadRequest getDefaultInstanceForType()
Returns
getFieldViolations(int index)
public BadRequest.FieldViolation getFieldViolations(int index)
Describes all violations in a client request.
repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;
Parameter
Returns
getFieldViolationsCount()
public int getFieldViolationsCount()
Describes all violations in a client request.
repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;
Returns
getFieldViolationsList()
public List<BadRequest.FieldViolation> getFieldViolationsList()
Describes all violations in a client request.
repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;
Returns
getFieldViolationsOrBuilder(int index)
public BadRequest.FieldViolationOrBuilder getFieldViolationsOrBuilder(int index)
Describes all violations in a client request.
repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;
Parameter
Returns
getFieldViolationsOrBuilderList()
public List<? extends BadRequest.FieldViolationOrBuilder> getFieldViolationsOrBuilderList()
Describes all violations in a client request.
repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;
Returns
Type | Description |
List<? extends com.google.rpc.BadRequest.FieldViolationOrBuilder> | |
getParserForType()
public Parser<BadRequest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public BadRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BadRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public BadRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions