Class InsuranceVerificationArtifact.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<InsuranceVerificationArtifact.Builder>
com.google.ads.googleads.v18.resources.InsuranceVerificationArtifact.Builder
All Implemented Interfaces:
InsuranceVerificationArtifactOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
InsuranceVerificationArtifact

public static final class InsuranceVerificationArtifact.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<InsuranceVerificationArtifact.Builder> implements InsuranceVerificationArtifactOrBuilder
 A proto holding information specific to a local services insurance.
 
Protobuf type google.ads.googleads.v18.resources.InsuranceVerificationArtifact
  • Method Details

    • 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<InsuranceVerificationArtifact.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<InsuranceVerificationArtifact.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<InsuranceVerificationArtifact.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<InsuranceVerificationArtifact.Builder>
    • setField

      public InsuranceVerificationArtifact.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<InsuranceVerificationArtifact.Builder>
    • clearField

      public InsuranceVerificationArtifact.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<InsuranceVerificationArtifact.Builder>
    • clearOneof

      public InsuranceVerificationArtifact.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<InsuranceVerificationArtifact.Builder>
    • setRepeatedField

      public InsuranceVerificationArtifact.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<InsuranceVerificationArtifact.Builder>
    • addRepeatedField

      public InsuranceVerificationArtifact.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<InsuranceVerificationArtifact.Builder>
    • mergeFrom

      public InsuranceVerificationArtifact.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<InsuranceVerificationArtifact.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<InsuranceVerificationArtifact.Builder>
    • mergeFrom

      public InsuranceVerificationArtifact.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<InsuranceVerificationArtifact.Builder>
      Throws:
      IOException
    • hasAmountMicros

      public boolean hasAmountMicros()
       Output only. Insurance amount. This is measured in "micros" of the currency
       mentioned in the insurance document.
       
      optional int64 amount_micros = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasAmountMicros in interface InsuranceVerificationArtifactOrBuilder
      Returns:
      Whether the amountMicros field is set.
    • getAmountMicros

      public long getAmountMicros()
       Output only. Insurance amount. This is measured in "micros" of the currency
       mentioned in the insurance document.
       
      optional int64 amount_micros = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAmountMicros in interface InsuranceVerificationArtifactOrBuilder
      Returns:
      The amountMicros.
    • setAmountMicros

      public InsuranceVerificationArtifact.Builder setAmountMicros(long value)
       Output only. Insurance amount. This is measured in "micros" of the currency
       mentioned in the insurance document.
       
      optional int64 amount_micros = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The amountMicros to set.
      Returns:
      This builder for chaining.
    • clearAmountMicros

      public InsuranceVerificationArtifact.Builder clearAmountMicros()
       Output only. Insurance amount. This is measured in "micros" of the currency
       mentioned in the insurance document.
       
      optional int64 amount_micros = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasRejectionReason

      public boolean hasRejectionReason()
       Output only. Insurance document's rejection reason.
       
      optional .google.ads.googleads.v18.enums.LocalServicesInsuranceRejectionReasonEnum.LocalServicesInsuranceRejectionReason rejection_reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasRejectionReason in interface InsuranceVerificationArtifactOrBuilder
      Returns:
      Whether the rejectionReason field is set.
    • getRejectionReasonValue

      public int getRejectionReasonValue()
       Output only. Insurance document's rejection reason.
       
      optional .google.ads.googleads.v18.enums.LocalServicesInsuranceRejectionReasonEnum.LocalServicesInsuranceRejectionReason rejection_reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRejectionReasonValue in interface InsuranceVerificationArtifactOrBuilder
      Returns:
      The enum numeric value on the wire for rejectionReason.
    • setRejectionReasonValue

      public InsuranceVerificationArtifact.Builder setRejectionReasonValue(int value)
       Output only. Insurance document's rejection reason.
       
      optional .google.ads.googleads.v18.enums.LocalServicesInsuranceRejectionReasonEnum.LocalServicesInsuranceRejectionReason rejection_reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for rejectionReason to set.
      Returns:
      This builder for chaining.
    • getRejectionReason

       Output only. Insurance document's rejection reason.
       
      optional .google.ads.googleads.v18.enums.LocalServicesInsuranceRejectionReasonEnum.LocalServicesInsuranceRejectionReason rejection_reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRejectionReason in interface InsuranceVerificationArtifactOrBuilder
      Returns:
      The rejectionReason.
    • setRejectionReason

       Output only. Insurance document's rejection reason.
       
      optional .google.ads.googleads.v18.enums.LocalServicesInsuranceRejectionReasonEnum.LocalServicesInsuranceRejectionReason rejection_reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The rejectionReason to set.
      Returns:
      This builder for chaining.
    • clearRejectionReason

      public InsuranceVerificationArtifact.Builder clearRejectionReason()
       Output only. Insurance document's rejection reason.
       
      optional .google.ads.googleads.v18.enums.LocalServicesInsuranceRejectionReasonEnum.LocalServicesInsuranceRejectionReason rejection_reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasInsuranceDocumentReadonly

      public boolean hasInsuranceDocumentReadonly()
       Output only. The readonly field containing the information for an uploaded
       insurance document.
       
      optional .google.ads.googleads.v18.common.LocalServicesDocumentReadOnly insurance_document_readonly = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasInsuranceDocumentReadonly in interface InsuranceVerificationArtifactOrBuilder
      Returns:
      Whether the insuranceDocumentReadonly field is set.
    • getInsuranceDocumentReadonly

      public LocalServicesDocumentReadOnly getInsuranceDocumentReadonly()
       Output only. The readonly field containing the information for an uploaded
       insurance document.
       
      optional .google.ads.googleads.v18.common.LocalServicesDocumentReadOnly insurance_document_readonly = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInsuranceDocumentReadonly in interface InsuranceVerificationArtifactOrBuilder
      Returns:
      The insuranceDocumentReadonly.
    • setInsuranceDocumentReadonly

      public InsuranceVerificationArtifact.Builder setInsuranceDocumentReadonly(LocalServicesDocumentReadOnly value)
       Output only. The readonly field containing the information for an uploaded
       insurance document.
       
      optional .google.ads.googleads.v18.common.LocalServicesDocumentReadOnly insurance_document_readonly = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setInsuranceDocumentReadonly

      public InsuranceVerificationArtifact.Builder setInsuranceDocumentReadonly(LocalServicesDocumentReadOnly.Builder builderForValue)
       Output only. The readonly field containing the information for an uploaded
       insurance document.
       
      optional .google.ads.googleads.v18.common.LocalServicesDocumentReadOnly insurance_document_readonly = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeInsuranceDocumentReadonly

      public InsuranceVerificationArtifact.Builder mergeInsuranceDocumentReadonly(LocalServicesDocumentReadOnly value)
       Output only. The readonly field containing the information for an uploaded
       insurance document.
       
      optional .google.ads.googleads.v18.common.LocalServicesDocumentReadOnly insurance_document_readonly = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearInsuranceDocumentReadonly

      public InsuranceVerificationArtifact.Builder clearInsuranceDocumentReadonly()
       Output only. The readonly field containing the information for an uploaded
       insurance document.
       
      optional .google.ads.googleads.v18.common.LocalServicesDocumentReadOnly insurance_document_readonly = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getInsuranceDocumentReadonlyBuilder

      public LocalServicesDocumentReadOnly.Builder getInsuranceDocumentReadonlyBuilder()
       Output only. The readonly field containing the information for an uploaded
       insurance document.
       
      optional .google.ads.googleads.v18.common.LocalServicesDocumentReadOnly insurance_document_readonly = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getInsuranceDocumentReadonlyOrBuilder

      public LocalServicesDocumentReadOnlyOrBuilder getInsuranceDocumentReadonlyOrBuilder()
       Output only. The readonly field containing the information for an uploaded
       insurance document.
       
      optional .google.ads.googleads.v18.common.LocalServicesDocumentReadOnly insurance_document_readonly = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInsuranceDocumentReadonlyOrBuilder in interface InsuranceVerificationArtifactOrBuilder
    • hasExpirationDateTime

      public boolean hasExpirationDateTime()
       Output only. The timestamp when this insurance expires.
       The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone.
       Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
       
      optional string expiration_date_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasExpirationDateTime in interface InsuranceVerificationArtifactOrBuilder
      Returns:
      Whether the expirationDateTime field is set.
    • getExpirationDateTime

      public String getExpirationDateTime()
       Output only. The timestamp when this insurance expires.
       The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone.
       Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
       
      optional string expiration_date_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getExpirationDateTime in interface InsuranceVerificationArtifactOrBuilder
      Returns:
      The expirationDateTime.
    • getExpirationDateTimeBytes

      public com.google.protobuf.ByteString getExpirationDateTimeBytes()
       Output only. The timestamp when this insurance expires.
       The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone.
       Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
       
      optional string expiration_date_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getExpirationDateTimeBytes in interface InsuranceVerificationArtifactOrBuilder
      Returns:
      The bytes for expirationDateTime.
    • setExpirationDateTime

      public InsuranceVerificationArtifact.Builder setExpirationDateTime(String value)
       Output only. The timestamp when this insurance expires.
       The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone.
       Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
       
      optional string expiration_date_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The expirationDateTime to set.
      Returns:
      This builder for chaining.
    • clearExpirationDateTime

      public InsuranceVerificationArtifact.Builder clearExpirationDateTime()
       Output only. The timestamp when this insurance expires.
       The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone.
       Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
       
      optional string expiration_date_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setExpirationDateTimeBytes

      public InsuranceVerificationArtifact.Builder setExpirationDateTimeBytes(com.google.protobuf.ByteString value)
       Output only. The timestamp when this insurance expires.
       The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone.
       Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
       
      optional string expiration_date_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for expirationDateTime to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final InsuranceVerificationArtifact.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<InsuranceVerificationArtifact.Builder>
    • mergeUnknownFields

      public final InsuranceVerificationArtifact.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<InsuranceVerificationArtifact.Builder>