Class ProvideValidationFeedbackRequest.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ProvideValidationFeedbackRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ProvideValidationFeedbackRequest.Builder>
      • getDefaultInstanceForType

        public ProvideValidationFeedbackRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public ProvideValidationFeedbackRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public ProvideValidationFeedbackRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ProvideValidationFeedbackRequest.Builder>
      • 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 interface ProvideValidationFeedbackRequestOrBuilder
        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.
      • 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 interface ProvideValidationFeedbackRequestOrBuilder
        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 interface ProvideValidationFeedbackRequestOrBuilder
        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.