Class ProvideValidationFeedbackRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ProvideValidationFeedbackRequest.Builder>
-
- com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.Builder
-
- All Implemented Interfaces:
ProvideValidationFeedbackRequestOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ProvideValidationFeedbackRequest
public static final class ProvideValidationFeedbackRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ProvideValidationFeedbackRequest.Builder> implements ProvideValidationFeedbackRequestOrBuilder
The request for sending validation feedback.
Protobuf typegoogle.maps.addressvalidation.v1.ProvideValidationFeedbackRequest
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ProvideValidationFeedbackRequest.Builder>
-
clear
public ProvideValidationFeedbackRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ProvideValidationFeedbackRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ProvideValidationFeedbackRequest.Builder>
-
getDefaultInstanceForType
public ProvideValidationFeedbackRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ProvideValidationFeedbackRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ProvideValidationFeedbackRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ProvideValidationFeedbackRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ProvideValidationFeedbackRequest.Builder>
-
setField
public ProvideValidationFeedbackRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ProvideValidationFeedbackRequest.Builder>
-
clearField
public ProvideValidationFeedbackRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ProvideValidationFeedbackRequest.Builder>
-
clearOneof
public ProvideValidationFeedbackRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ProvideValidationFeedbackRequest.Builder>
-
setRepeatedField
public ProvideValidationFeedbackRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ProvideValidationFeedbackRequest.Builder>
-
addRepeatedField
public ProvideValidationFeedbackRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ProvideValidationFeedbackRequest.Builder>
-
mergeFrom
public ProvideValidationFeedbackRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ProvideValidationFeedbackRequest.Builder>
-
mergeFrom
public ProvideValidationFeedbackRequest.Builder mergeFrom(ProvideValidationFeedbackRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ProvideValidationFeedbackRequest.Builder>
-
mergeFrom
public ProvideValidationFeedbackRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ProvideValidationFeedbackRequest.Builder>
- Throws:
IOException
-
getConclusionValue
public int getConclusionValue()
Required. The outcome of the sequence of validation attempts. If this field is set to `VALIDATION_CONCLUSION_UNSPECIFIED`, an `INVALID_ARGUMENT` error will be returned.
.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion conclusion = 1 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getConclusionValue
in interfaceProvideValidationFeedbackRequestOrBuilder
- Returns:
- The enum numeric value on the wire for conclusion.
-
setConclusionValue
public ProvideValidationFeedbackRequest.Builder setConclusionValue(int value)
Required. The outcome of the sequence of validation attempts. If this field is set to `VALIDATION_CONCLUSION_UNSPECIFIED`, an `INVALID_ARGUMENT` error will be returned.
.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion conclusion = 1 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The enum numeric value on the wire for conclusion to set.- Returns:
- This builder for chaining.
-
getConclusion
public ProvideValidationFeedbackRequest.ValidationConclusion getConclusion()
Required. The outcome of the sequence of validation attempts. If this field is set to `VALIDATION_CONCLUSION_UNSPECIFIED`, an `INVALID_ARGUMENT` error will be returned.
.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion conclusion = 1 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getConclusion
in interfaceProvideValidationFeedbackRequestOrBuilder
- Returns:
- The conclusion.
-
setConclusion
public ProvideValidationFeedbackRequest.Builder setConclusion(ProvideValidationFeedbackRequest.ValidationConclusion value)
Required. The outcome of the sequence of validation attempts. If this field is set to `VALIDATION_CONCLUSION_UNSPECIFIED`, an `INVALID_ARGUMENT` error will be returned.
.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion conclusion = 1 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The conclusion to set.- Returns:
- This builder for chaining.
-
clearConclusion
public ProvideValidationFeedbackRequest.Builder clearConclusion()
Required. The outcome of the sequence of validation attempts. If this field is set to `VALIDATION_CONCLUSION_UNSPECIFIED`, an `INVALID_ARGUMENT` error will be returned.
.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion conclusion = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- This builder for chaining.
-
getResponseId
public String getResponseId()
Required. The ID of the response that this feedback is for. This should be the [response_id][google.maps.addressvalidation.v1.ValidateAddressRequest.response_id] from the first response in a series of address validation attempts.
string response_id = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getResponseId
in interfaceProvideValidationFeedbackRequestOrBuilder
- Returns:
- The responseId.
-
getResponseIdBytes
public com.google.protobuf.ByteString getResponseIdBytes()
Required. The ID of the response that this feedback is for. This should be the [response_id][google.maps.addressvalidation.v1.ValidateAddressRequest.response_id] from the first response in a series of address validation attempts.
string response_id = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getResponseIdBytes
in interfaceProvideValidationFeedbackRequestOrBuilder
- Returns:
- The bytes for responseId.
-
setResponseId
public ProvideValidationFeedbackRequest.Builder setResponseId(String value)
Required. The ID of the response that this feedback is for. This should be the [response_id][google.maps.addressvalidation.v1.ValidateAddressRequest.response_id] from the first response in a series of address validation attempts.
string response_id = 2 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The responseId to set.- Returns:
- This builder for chaining.
-
clearResponseId
public ProvideValidationFeedbackRequest.Builder clearResponseId()
Required. The ID of the response that this feedback is for. This should be the [response_id][google.maps.addressvalidation.v1.ValidateAddressRequest.response_id] from the first response in a series of address validation attempts.
string response_id = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- This builder for chaining.
-
setResponseIdBytes
public ProvideValidationFeedbackRequest.Builder setResponseIdBytes(com.google.protobuf.ByteString value)
Required. The ID of the response that this feedback is for. This should be the [response_id][google.maps.addressvalidation.v1.ValidateAddressRequest.response_id] from the first response in a series of address validation attempts.
string response_id = 2 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The bytes for responseId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ProvideValidationFeedbackRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ProvideValidationFeedbackRequest.Builder>
-
mergeUnknownFields
public final ProvideValidationFeedbackRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ProvideValidationFeedbackRequest.Builder>
-
-