public static final class BadRequest.FieldViolation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BadRequest.FieldViolation.Builder> implements BadRequest.FieldViolationOrBuilder
A message type used to describe a single bad request field.Protobuf type
google.rpc.BadRequest.FieldViolation| 限定符和类型 | 方法和说明 |
|---|---|
BadRequest.FieldViolation |
build() |
BadRequest.FieldViolation |
buildPartial() |
BadRequest.FieldViolation.Builder |
clear() |
BadRequest.FieldViolation.Builder |
clearDescription()
A description of why the request element is bad.
|
BadRequest.FieldViolation.Builder |
clearField()
A path leading to a field in the request body.
|
BadRequest.FieldViolation |
getDefaultInstanceForType() |
String |
getDescription()
A description of why the request element is bad.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
A description of why the request element is bad.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getField()
A path leading to a field in the request body.
|
com.google.protobuf.ByteString |
getFieldBytes()
A path leading to a field in the request body.
|
boolean |
isInitialized() |
BadRequest.FieldViolation.Builder |
mergeFrom(BadRequest.FieldViolation other) |
BadRequest.FieldViolation.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BadRequest.FieldViolation.Builder |
mergeFrom(com.google.protobuf.Message other) |
BadRequest.FieldViolation.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BadRequest.FieldViolation.Builder |
setDescription(String value)
A description of why the request element is bad.
|
BadRequest.FieldViolation.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
A description of why the request element is bad.
|
BadRequest.FieldViolation.Builder |
setField(String value)
A path leading to a field in the request body.
|
BadRequest.FieldViolation.Builder |
setFieldBytes(com.google.protobuf.ByteString value)
A path leading to a field in the request body.
|
BadRequest.FieldViolation.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newBuilderForField, setField, setRepeatedFieldfindInitializationErrors, getInitializationErrorString, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, toStringmergeDelimitedFrom, mergeDelimitedFrom, mergeFrompublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public BadRequest.FieldViolation.Builder clear()
clear 在接口中 com.google.protobuf.Message.Builderclear 在接口中 com.google.protobuf.MessageLite.Builderclear 在类中 com.google.protobuf.GeneratedMessageV3.Builder<BadRequest.FieldViolation.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.Message.BuildergetDescriptorForType 在接口中 com.google.protobuf.MessageOrBuildergetDescriptorForType 在类中 com.google.protobuf.GeneratedMessageV3.Builder<BadRequest.FieldViolation.Builder>public BadRequest.FieldViolation getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderpublic BadRequest.FieldViolation build()
build 在接口中 com.google.protobuf.Message.Builderbuild 在接口中 com.google.protobuf.MessageLite.Builderpublic BadRequest.FieldViolation buildPartial()
buildPartial 在接口中 com.google.protobuf.Message.BuilderbuildPartial 在接口中 com.google.protobuf.MessageLite.Builderpublic BadRequest.FieldViolation.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<BadRequest.FieldViolation.Builder>public BadRequest.FieldViolation.Builder mergeFrom(BadRequest.FieldViolation other)
public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3.Builder<BadRequest.FieldViolation.Builder>public BadRequest.FieldViolation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在接口中 com.google.protobuf.MessageLite.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<BadRequest.FieldViolation.Builder>IOExceptionpublic String getField()
A path leading to a field in the request body. The value will be a sequence of dot-separated identifiers that identify a protocol buffer field. E.g., "field_violations.field" would identify this field.
string field = 1;getField 在接口中 BadRequest.FieldViolationOrBuilderpublic com.google.protobuf.ByteString getFieldBytes()
A path leading to a field in the request body. The value will be a sequence of dot-separated identifiers that identify a protocol buffer field. E.g., "field_violations.field" would identify this field.
string field = 1;getFieldBytes 在接口中 BadRequest.FieldViolationOrBuilderpublic BadRequest.FieldViolation.Builder setField(String value)
A path leading to a field in the request body. The value will be a sequence of dot-separated identifiers that identify a protocol buffer field. E.g., "field_violations.field" would identify this field.
string field = 1;value - The field to set.public BadRequest.FieldViolation.Builder clearField()
A path leading to a field in the request body. The value will be a sequence of dot-separated identifiers that identify a protocol buffer field. E.g., "field_violations.field" would identify this field.
string field = 1;public BadRequest.FieldViolation.Builder setFieldBytes(com.google.protobuf.ByteString value)
A path leading to a field in the request body. The value will be a sequence of dot-separated identifiers that identify a protocol buffer field. E.g., "field_violations.field" would identify this field.
string field = 1;value - The bytes for field to set.public String getDescription()
A description of why the request element is bad.
string description = 2;getDescription 在接口中 BadRequest.FieldViolationOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
A description of why the request element is bad.
string description = 2;getDescriptionBytes 在接口中 BadRequest.FieldViolationOrBuilderpublic BadRequest.FieldViolation.Builder setDescription(String value)
A description of why the request element is bad.
string description = 2;value - The description to set.public BadRequest.FieldViolation.Builder clearDescription()
A description of why the request element is bad.
string description = 2;public BadRequest.FieldViolation.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
A description of why the request element is bad.
string description = 2;value - The bytes for description to set.public final BadRequest.FieldViolation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields 在接口中 com.google.protobuf.Message.BuildersetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<BadRequest.FieldViolation.Builder>public final BadRequest.FieldViolation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields 在接口中 com.google.protobuf.Message.BuildermergeUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<BadRequest.FieldViolation.Builder>Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.