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
Modifier and Type | Method and Description |
---|---|
BadRequest.FieldViolation.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
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.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
BadRequest.FieldViolation.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BadRequest.FieldViolation.Builder |
clone() |
BadRequest.FieldViolation |
getDefaultInstanceForType() |
java.lang.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() |
java.lang.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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
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(java.lang.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(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
BadRequest.FieldViolation.Builder |
setField(java.lang.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 |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
BadRequest.FieldViolation.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<BadRequest.FieldViolation.Builder>
public BadRequest.FieldViolation.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<BadRequest.FieldViolation.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<BadRequest.FieldViolation.Builder>
public BadRequest.FieldViolation getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public BadRequest.FieldViolation build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public BadRequest.FieldViolation buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public BadRequest.FieldViolation.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<BadRequest.FieldViolation.Builder>
public BadRequest.FieldViolation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<BadRequest.FieldViolation.Builder>
public BadRequest.FieldViolation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<BadRequest.FieldViolation.Builder>
public BadRequest.FieldViolation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<BadRequest.FieldViolation.Builder>
public BadRequest.FieldViolation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<BadRequest.FieldViolation.Builder>
public BadRequest.FieldViolation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<BadRequest.FieldViolation.Builder>
public BadRequest.FieldViolation.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<BadRequest.FieldViolation.Builder>
public BadRequest.FieldViolation.Builder mergeFrom(BadRequest.FieldViolation other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<BadRequest.FieldViolation.Builder>
public BadRequest.FieldViolation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<BadRequest.FieldViolation.Builder>
java.io.IOException
public java.lang.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
in interface BadRequest.FieldViolationOrBuilder
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
in interface BadRequest.FieldViolationOrBuilder
public BadRequest.FieldViolation.Builder setField(java.lang.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;
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;
public java.lang.String getDescription()
A description of why the request element is bad.
string description = 2;
getDescription
in interface BadRequest.FieldViolationOrBuilder
public com.google.protobuf.ByteString getDescriptionBytes()
A description of why the request element is bad.
string description = 2;
getDescriptionBytes
in interface BadRequest.FieldViolationOrBuilder
public BadRequest.FieldViolation.Builder setDescription(java.lang.String value)
A description of why the request element is bad.
string description = 2;
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;
public final BadRequest.FieldViolation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<BadRequest.FieldViolation.Builder>
public final BadRequest.FieldViolation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<BadRequest.FieldViolation.Builder>