public final class BadRequest extends com.google.protobuf.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 class |
BadRequest.Builder
Describes violations in a client request.
|
static class |
BadRequest.FieldViolation
A message type used to describe a single bad request field.
|
static interface |
BadRequest.FieldViolationOrBuilder |
com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| 限定符和类型 | 字段和说明 |
|---|---|
static int |
FIELD_VIOLATIONS_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
static BadRequest |
getDefaultInstance() |
BadRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
BadRequest.FieldViolation |
getFieldViolations(int index)
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.
|
com.google.protobuf.Parser<BadRequest> |
getParserForType() |
int |
getSerializedSize() |
int |
hashCode() |
boolean |
isInitialized() |
static BadRequest.Builder |
newBuilder() |
static BadRequest.Builder |
newBuilder(BadRequest prototype) |
BadRequest.Builder |
newBuilderForType() |
static BadRequest |
parseDelimitedFrom(InputStream input) |
static BadRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BadRequest |
parseFrom(byte[] data) |
static BadRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BadRequest |
parseFrom(ByteBuffer data) |
static BadRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BadRequest |
parseFrom(com.google.protobuf.ByteString data) |
static BadRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BadRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static BadRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BadRequest |
parseFrom(InputStream input) |
static BadRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<BadRequest> |
parser() |
BadRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneoffindInitializationErrors, getInitializationErrorString, toStringtoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int FIELD_VIOLATIONS_FIELD_NUMBER
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public List<BadRequest.FieldViolation> getFieldViolationsList()
Describes all violations in a client request.
repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;getFieldViolationsList 在接口中 BadRequestOrBuilderpublic List<? extends BadRequest.FieldViolationOrBuilder> getFieldViolationsOrBuilderList()
Describes all violations in a client request.
repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;public int getFieldViolationsCount()
Describes all violations in a client request.
repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;getFieldViolationsCount 在接口中 BadRequestOrBuilderpublic BadRequest.FieldViolation getFieldViolations(int index)
Describes all violations in a client request.
repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;getFieldViolations 在接口中 BadRequestOrBuilderpublic BadRequest.FieldViolationOrBuilder getFieldViolationsOrBuilder(int index)
Describes all violations in a client request.
repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 com.google.protobuf.AbstractMessagepublic static BadRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BadRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BadRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BadRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BadRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BadRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BadRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static BadRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BadRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static BadRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BadRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static BadRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic BadRequest.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static BadRequest.Builder newBuilder()
public static BadRequest.Builder newBuilder(BadRequest prototype)
public BadRequest.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLitepublic static BadRequest getDefaultInstance()
public static com.google.protobuf.Parser<BadRequest> parser()
public com.google.protobuf.Parser<BadRequest> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public BadRequest getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.