Class LicenseVerificationArtifact.Builder

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

public static final class LicenseVerificationArtifact.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LicenseVerificationArtifact.Builder> implements LicenseVerificationArtifactOrBuilder
 A proto holding information specific to a local services license.
 
Protobuf type google.ads.googleads.v18.resources.LicenseVerificationArtifact
  • 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<LicenseVerificationArtifact.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<LicenseVerificationArtifact.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<LicenseVerificationArtifact.Builder>
    • getDefaultInstanceForType

      public LicenseVerificationArtifact 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 LicenseVerificationArtifact 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<LicenseVerificationArtifact.Builder>
    • setField

      public LicenseVerificationArtifact.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<LicenseVerificationArtifact.Builder>
    • clearField

      public LicenseVerificationArtifact.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<LicenseVerificationArtifact.Builder>
    • clearOneof

      public LicenseVerificationArtifact.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<LicenseVerificationArtifact.Builder>
    • setRepeatedField

      public LicenseVerificationArtifact.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<LicenseVerificationArtifact.Builder>
    • addRepeatedField

      public LicenseVerificationArtifact.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<LicenseVerificationArtifact.Builder>
    • mergeFrom

      public LicenseVerificationArtifact.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<LicenseVerificationArtifact.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<LicenseVerificationArtifact.Builder>
    • mergeFrom

      public LicenseVerificationArtifact.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<LicenseVerificationArtifact.Builder>
      Throws:
      IOException
    • hasLicenseType

      public boolean hasLicenseType()
       Output only. License type / name.
       
      optional string license_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasLicenseType in interface LicenseVerificationArtifactOrBuilder
      Returns:
      Whether the licenseType field is set.
    • getLicenseType

      public String getLicenseType()
       Output only. License type / name.
       
      optional string license_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLicenseType in interface LicenseVerificationArtifactOrBuilder
      Returns:
      The licenseType.
    • getLicenseTypeBytes

      public com.google.protobuf.ByteString getLicenseTypeBytes()
       Output only. License type / name.
       
      optional string license_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLicenseTypeBytes in interface LicenseVerificationArtifactOrBuilder
      Returns:
      The bytes for licenseType.
    • setLicenseType

      public LicenseVerificationArtifact.Builder setLicenseType(String value)
       Output only. License type / name.
       
      optional string license_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The licenseType to set.
      Returns:
      This builder for chaining.
    • clearLicenseType

      public LicenseVerificationArtifact.Builder clearLicenseType()
       Output only. License type / name.
       
      optional string license_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setLicenseTypeBytes

      public LicenseVerificationArtifact.Builder setLicenseTypeBytes(com.google.protobuf.ByteString value)
       Output only. License type / name.
       
      optional string license_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for licenseType to set.
      Returns:
      This builder for chaining.
    • hasLicenseNumber

      public boolean hasLicenseNumber()
       Output only. License number.
       
      optional string license_number = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasLicenseNumber in interface LicenseVerificationArtifactOrBuilder
      Returns:
      Whether the licenseNumber field is set.
    • getLicenseNumber

      public String getLicenseNumber()
       Output only. License number.
       
      optional string license_number = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLicenseNumber in interface LicenseVerificationArtifactOrBuilder
      Returns:
      The licenseNumber.
    • getLicenseNumberBytes

      public com.google.protobuf.ByteString getLicenseNumberBytes()
       Output only. License number.
       
      optional string license_number = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLicenseNumberBytes in interface LicenseVerificationArtifactOrBuilder
      Returns:
      The bytes for licenseNumber.
    • setLicenseNumber

      public LicenseVerificationArtifact.Builder setLicenseNumber(String value)
       Output only. License number.
       
      optional string license_number = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The licenseNumber to set.
      Returns:
      This builder for chaining.
    • clearLicenseNumber

      public LicenseVerificationArtifact.Builder clearLicenseNumber()
       Output only. License number.
       
      optional string license_number = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setLicenseNumberBytes

      public LicenseVerificationArtifact.Builder setLicenseNumberBytes(com.google.protobuf.ByteString value)
       Output only. License number.
       
      optional string license_number = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for licenseNumber to set.
      Returns:
      This builder for chaining.
    • hasLicenseeFirstName

      public boolean hasLicenseeFirstName()
       Output only. First name of the licensee.
       
      optional string licensee_first_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasLicenseeFirstName in interface LicenseVerificationArtifactOrBuilder
      Returns:
      Whether the licenseeFirstName field is set.
    • getLicenseeFirstName

      public String getLicenseeFirstName()
       Output only. First name of the licensee.
       
      optional string licensee_first_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLicenseeFirstName in interface LicenseVerificationArtifactOrBuilder
      Returns:
      The licenseeFirstName.
    • getLicenseeFirstNameBytes

      public com.google.protobuf.ByteString getLicenseeFirstNameBytes()
       Output only. First name of the licensee.
       
      optional string licensee_first_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLicenseeFirstNameBytes in interface LicenseVerificationArtifactOrBuilder
      Returns:
      The bytes for licenseeFirstName.
    • setLicenseeFirstName

      public LicenseVerificationArtifact.Builder setLicenseeFirstName(String value)
       Output only. First name of the licensee.
       
      optional string licensee_first_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The licenseeFirstName to set.
      Returns:
      This builder for chaining.
    • clearLicenseeFirstName

      public LicenseVerificationArtifact.Builder clearLicenseeFirstName()
       Output only. First name of the licensee.
       
      optional string licensee_first_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setLicenseeFirstNameBytes

      public LicenseVerificationArtifact.Builder setLicenseeFirstNameBytes(com.google.protobuf.ByteString value)
       Output only. First name of the licensee.
       
      optional string licensee_first_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for licenseeFirstName to set.
      Returns:
      This builder for chaining.
    • hasLicenseeLastName

      public boolean hasLicenseeLastName()
       Output only. Last name of the licensee.
       
      optional string licensee_last_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasLicenseeLastName in interface LicenseVerificationArtifactOrBuilder
      Returns:
      Whether the licenseeLastName field is set.
    • getLicenseeLastName

      public String getLicenseeLastName()
       Output only. Last name of the licensee.
       
      optional string licensee_last_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLicenseeLastName in interface LicenseVerificationArtifactOrBuilder
      Returns:
      The licenseeLastName.
    • getLicenseeLastNameBytes

      public com.google.protobuf.ByteString getLicenseeLastNameBytes()
       Output only. Last name of the licensee.
       
      optional string licensee_last_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLicenseeLastNameBytes in interface LicenseVerificationArtifactOrBuilder
      Returns:
      The bytes for licenseeLastName.
    • setLicenseeLastName

      public LicenseVerificationArtifact.Builder setLicenseeLastName(String value)
       Output only. Last name of the licensee.
       
      optional string licensee_last_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The licenseeLastName to set.
      Returns:
      This builder for chaining.
    • clearLicenseeLastName

      public LicenseVerificationArtifact.Builder clearLicenseeLastName()
       Output only. Last name of the licensee.
       
      optional string licensee_last_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setLicenseeLastNameBytes

      public LicenseVerificationArtifact.Builder setLicenseeLastNameBytes(com.google.protobuf.ByteString value)
       Output only. Last name of the licensee.
       
      optional string licensee_last_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for licenseeLastName to set.
      Returns:
      This builder for chaining.
    • hasRejectionReason

      public boolean hasRejectionReason()
       Output only. License rejection reason.
       
      optional .google.ads.googleads.v18.enums.LocalServicesLicenseRejectionReasonEnum.LocalServicesLicenseRejectionReason rejection_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasRejectionReason in interface LicenseVerificationArtifactOrBuilder
      Returns:
      Whether the rejectionReason field is set.
    • getRejectionReasonValue

      public int getRejectionReasonValue()
       Output only. License rejection reason.
       
      optional .google.ads.googleads.v18.enums.LocalServicesLicenseRejectionReasonEnum.LocalServicesLicenseRejectionReason rejection_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRejectionReasonValue in interface LicenseVerificationArtifactOrBuilder
      Returns:
      The enum numeric value on the wire for rejectionReason.
    • setRejectionReasonValue

      public LicenseVerificationArtifact.Builder setRejectionReasonValue(int value)
       Output only. License rejection reason.
       
      optional .google.ads.googleads.v18.enums.LocalServicesLicenseRejectionReasonEnum.LocalServicesLicenseRejectionReason rejection_reason = 5 [(.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. License rejection reason.
       
      optional .google.ads.googleads.v18.enums.LocalServicesLicenseRejectionReasonEnum.LocalServicesLicenseRejectionReason rejection_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRejectionReason in interface LicenseVerificationArtifactOrBuilder
      Returns:
      The rejectionReason.
    • setRejectionReason

       Output only. License rejection reason.
       
      optional .google.ads.googleads.v18.enums.LocalServicesLicenseRejectionReasonEnum.LocalServicesLicenseRejectionReason rejection_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The rejectionReason to set.
      Returns:
      This builder for chaining.
    • clearRejectionReason

      public LicenseVerificationArtifact.Builder clearRejectionReason()
       Output only. License rejection reason.
       
      optional .google.ads.googleads.v18.enums.LocalServicesLicenseRejectionReasonEnum.LocalServicesLicenseRejectionReason rejection_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasLicenseDocumentReadonly

      public boolean hasLicenseDocumentReadonly()
       Output only. The readonly field containing the information for an uploaded
       license document.
       
      optional .google.ads.googleads.v18.common.LocalServicesDocumentReadOnly license_document_readonly = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasLicenseDocumentReadonly in interface LicenseVerificationArtifactOrBuilder
      Returns:
      Whether the licenseDocumentReadonly field is set.
    • getLicenseDocumentReadonly

      public LocalServicesDocumentReadOnly getLicenseDocumentReadonly()
       Output only. The readonly field containing the information for an uploaded
       license document.
       
      optional .google.ads.googleads.v18.common.LocalServicesDocumentReadOnly license_document_readonly = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLicenseDocumentReadonly in interface LicenseVerificationArtifactOrBuilder
      Returns:
      The licenseDocumentReadonly.
    • setLicenseDocumentReadonly

      public LicenseVerificationArtifact.Builder setLicenseDocumentReadonly(LocalServicesDocumentReadOnly value)
       Output only. The readonly field containing the information for an uploaded
       license document.
       
      optional .google.ads.googleads.v18.common.LocalServicesDocumentReadOnly license_document_readonly = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setLicenseDocumentReadonly

      public LicenseVerificationArtifact.Builder setLicenseDocumentReadonly(LocalServicesDocumentReadOnly.Builder builderForValue)
       Output only. The readonly field containing the information for an uploaded
       license document.
       
      optional .google.ads.googleads.v18.common.LocalServicesDocumentReadOnly license_document_readonly = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeLicenseDocumentReadonly

      public LicenseVerificationArtifact.Builder mergeLicenseDocumentReadonly(LocalServicesDocumentReadOnly value)
       Output only. The readonly field containing the information for an uploaded
       license document.
       
      optional .google.ads.googleads.v18.common.LocalServicesDocumentReadOnly license_document_readonly = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearLicenseDocumentReadonly

      public LicenseVerificationArtifact.Builder clearLicenseDocumentReadonly()
       Output only. The readonly field containing the information for an uploaded
       license document.
       
      optional .google.ads.googleads.v18.common.LocalServicesDocumentReadOnly license_document_readonly = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getLicenseDocumentReadonlyBuilder

      public LocalServicesDocumentReadOnly.Builder getLicenseDocumentReadonlyBuilder()
       Output only. The readonly field containing the information for an uploaded
       license document.
       
      optional .google.ads.googleads.v18.common.LocalServicesDocumentReadOnly license_document_readonly = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getLicenseDocumentReadonlyOrBuilder

      public LocalServicesDocumentReadOnlyOrBuilder getLicenseDocumentReadonlyOrBuilder()
       Output only. The readonly field containing the information for an uploaded
       license document.
       
      optional .google.ads.googleads.v18.common.LocalServicesDocumentReadOnly license_document_readonly = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLicenseDocumentReadonlyOrBuilder in interface LicenseVerificationArtifactOrBuilder
    • hasExpirationDateTime

      public boolean hasExpirationDateTime()
       Output only. The timestamp when this license 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 = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasExpirationDateTime in interface LicenseVerificationArtifactOrBuilder
      Returns:
      Whether the expirationDateTime field is set.
    • getExpirationDateTime

      public String getExpirationDateTime()
       Output only. The timestamp when this license 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 = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getExpirationDateTime in interface LicenseVerificationArtifactOrBuilder
      Returns:
      The expirationDateTime.
    • getExpirationDateTimeBytes

      public com.google.protobuf.ByteString getExpirationDateTimeBytes()
       Output only. The timestamp when this license 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 = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getExpirationDateTimeBytes in interface LicenseVerificationArtifactOrBuilder
      Returns:
      The bytes for expirationDateTime.
    • setExpirationDateTime

      public LicenseVerificationArtifact.Builder setExpirationDateTime(String value)
       Output only. The timestamp when this license 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 = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The expirationDateTime to set.
      Returns:
      This builder for chaining.
    • clearExpirationDateTime

      public LicenseVerificationArtifact.Builder clearExpirationDateTime()
       Output only. The timestamp when this license 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 = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setExpirationDateTimeBytes

      public LicenseVerificationArtifact.Builder setExpirationDateTimeBytes(com.google.protobuf.ByteString value)
       Output only. The timestamp when this license 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 = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for expirationDateTime to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final LicenseVerificationArtifact.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<LicenseVerificationArtifact.Builder>
    • mergeUnknownFields

      public final LicenseVerificationArtifact.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<LicenseVerificationArtifact.Builder>