程序包 com.google.rpc
类 BadRequest.FieldViolation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<BadRequest.FieldViolation.Builder>
com.google.rpc.BadRequest.FieldViolation.Builder
- 所有已实现的接口:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,BadRequest.FieldViolationOrBuilder
,Cloneable
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
-
方法概要
修饰符和类型方法说明addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
build()
clear()
A description of why the request element is bad.A path leading to a field in the request body.clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clone()
A description of why the request element is bad.com.google.protobuf.ByteString
A description of why the request element is bad.static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getField()
A path leading to a field in the request body.com.google.protobuf.ByteString
A path leading to a field in the request body.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
boolean
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
mergeFrom(com.google.protobuf.Message other)
mergeFrom(BadRequest.FieldViolation other)
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setDescription(String value)
A description of why the request element is bad.setDescriptionBytes(com.google.protobuf.ByteString value)
A description of why the request element is bad.A path leading to a field in the request body.setFieldBytes(com.google.protobuf.ByteString value)
A path leading to a field in the request body.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
从类继承的方法 com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
从类继承的方法 com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
从类继承的方法 com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
从接口继承的方法 com.google.protobuf.MessageLite.Builder
mergeFrom
从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
方法详细资料
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- 指定者:
internalGetFieldAccessorTable
在类中com.google.protobuf.GeneratedMessageV3.Builder<BadRequest.FieldViolation.Builder>
-
clear
- 指定者:
clear
在接口中com.google.protobuf.Message.Builder
- 指定者:
clear
在接口中com.google.protobuf.MessageLite.Builder
- 覆盖:
clear
在类中com.google.protobuf.GeneratedMessageV3.Builder<BadRequest.FieldViolation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- 指定者:
getDescriptorForType
在接口中com.google.protobuf.Message.Builder
- 指定者:
getDescriptorForType
在接口中com.google.protobuf.MessageOrBuilder
- 覆盖:
getDescriptorForType
在类中com.google.protobuf.GeneratedMessageV3.Builder<BadRequest.FieldViolation.Builder>
-
getDefaultInstanceForType
- 指定者:
getDefaultInstanceForType
在接口中com.google.protobuf.MessageLiteOrBuilder
- 指定者:
getDefaultInstanceForType
在接口中com.google.protobuf.MessageOrBuilder
-
build
- 指定者:
build
在接口中com.google.protobuf.Message.Builder
- 指定者:
build
在接口中com.google.protobuf.MessageLite.Builder
-
buildPartial
- 指定者:
buildPartial
在接口中com.google.protobuf.Message.Builder
- 指定者:
buildPartial
在接口中com.google.protobuf.MessageLite.Builder
-
clone
- 指定者:
clone
在接口中com.google.protobuf.Message.Builder
- 指定者:
clone
在接口中com.google.protobuf.MessageLite.Builder
- 覆盖:
clone
在类中com.google.protobuf.GeneratedMessageV3.Builder<BadRequest.FieldViolation.Builder>
-
setField
public BadRequest.FieldViolation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)- 指定者:
setField
在接口中com.google.protobuf.Message.Builder
- 覆盖:
setField
在类中com.google.protobuf.GeneratedMessageV3.Builder<BadRequest.FieldViolation.Builder>
-
clearField
public BadRequest.FieldViolation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)- 指定者:
clearField
在接口中com.google.protobuf.Message.Builder
- 覆盖:
clearField
在类中com.google.protobuf.GeneratedMessageV3.Builder<BadRequest.FieldViolation.Builder>
-
clearOneof
public BadRequest.FieldViolation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)- 指定者:
clearOneof
在接口中com.google.protobuf.Message.Builder
- 覆盖:
clearOneof
在类中com.google.protobuf.GeneratedMessageV3.Builder<BadRequest.FieldViolation.Builder>
-
setRepeatedField
public BadRequest.FieldViolation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)- 指定者:
setRepeatedField
在接口中com.google.protobuf.Message.Builder
- 覆盖:
setRepeatedField
在类中com.google.protobuf.GeneratedMessageV3.Builder<BadRequest.FieldViolation.Builder>
-
addRepeatedField
public BadRequest.FieldViolation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)- 指定者:
addRepeatedField
在接口中com.google.protobuf.Message.Builder
- 覆盖:
addRepeatedField
在类中com.google.protobuf.GeneratedMessageV3.Builder<BadRequest.FieldViolation.Builder>
-
mergeFrom
- 指定者:
mergeFrom
在接口中com.google.protobuf.Message.Builder
- 覆盖:
mergeFrom
在类中com.google.protobuf.AbstractMessage.Builder<BadRequest.FieldViolation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- 指定者:
isInitialized
在接口中com.google.protobuf.MessageLiteOrBuilder
- 覆盖:
isInitialized
在类中com.google.protobuf.GeneratedMessageV3.Builder<BadRequest.FieldViolation.Builder>
-
mergeFrom
public BadRequest.FieldViolation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException- 指定者:
mergeFrom
在接口中com.google.protobuf.Message.Builder
- 指定者:
mergeFrom
在接口中com.google.protobuf.MessageLite.Builder
- 覆盖:
mergeFrom
在类中com.google.protobuf.AbstractMessage.Builder<BadRequest.FieldViolation.Builder>
- 抛出:
IOException
-
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.FieldViolationOrBuilder
- 返回:
- The field.
-
getFieldBytes
public 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.FieldViolationOrBuilder
- 返回:
- The bytes for field.
-
setField
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.- 返回:
- This builder for chaining.
-
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;
- 返回:
- This builder for chaining.
-
setFieldBytes
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.- 返回:
- This builder for chaining.
-
getDescription
A description of why the request element is bad.
string description = 2;
- 指定者:
getDescription
在接口中BadRequest.FieldViolationOrBuilder
- 返回:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()A description of why the request element is bad.
string description = 2;
- 指定者:
getDescriptionBytes
在接口中BadRequest.FieldViolationOrBuilder
- 返回:
- The bytes for description.
-
setDescription
A description of why the request element is bad.
string description = 2;
- 参数:
value
- The description to set.- 返回:
- This builder for chaining.
-
clearDescription
A description of why the request element is bad.
string description = 2;
- 返回:
- This builder for chaining.
-
setDescriptionBytes
A description of why the request element is bad.
string description = 2;
- 参数:
value
- The bytes for description to set.- 返回:
- This builder for chaining.
-
setUnknownFields
public final BadRequest.FieldViolation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- 指定者:
setUnknownFields
在接口中com.google.protobuf.Message.Builder
- 覆盖:
setUnknownFields
在类中com.google.protobuf.GeneratedMessageV3.Builder<BadRequest.FieldViolation.Builder>
-
mergeUnknownFields
public final BadRequest.FieldViolation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- 指定者:
mergeUnknownFields
在接口中com.google.protobuf.Message.Builder
- 覆盖:
mergeUnknownFields
在类中com.google.protobuf.GeneratedMessageV3.Builder<BadRequest.FieldViolation.Builder>
-