Class LicenseVerificationArtifact

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.resources.LicenseVerificationArtifact
All Implemented Interfaces:
LicenseVerificationArtifactOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class LicenseVerificationArtifact extends com.google.protobuf.GeneratedMessageV3 implements LicenseVerificationArtifactOrBuilder
 A proto holding information specific to a local services license.
 
Protobuf type google.ads.googleads.v18.resources.LicenseVerificationArtifact
See Also:
  • Field Details

    • LICENSE_TYPE_FIELD_NUMBER

      public static final int LICENSE_TYPE_FIELD_NUMBER
      See Also:
    • LICENSE_NUMBER_FIELD_NUMBER

      public static final int LICENSE_NUMBER_FIELD_NUMBER
      See Also:
    • LICENSEE_FIRST_NAME_FIELD_NUMBER

      public static final int LICENSEE_FIRST_NAME_FIELD_NUMBER
      See Also:
    • LICENSEE_LAST_NAME_FIELD_NUMBER

      public static final int LICENSEE_LAST_NAME_FIELD_NUMBER
      See Also:
    • REJECTION_REASON_FIELD_NUMBER

      public static final int REJECTION_REASON_FIELD_NUMBER
      See Also:
    • LICENSE_DOCUMENT_READONLY_FIELD_NUMBER

      public static final int LICENSE_DOCUMENT_READONLY_FIELD_NUMBER
      See Also:
    • EXPIRATION_DATE_TIME_FIELD_NUMBER

      public static final int EXPIRATION_DATE_TIME_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • 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
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static LicenseVerificationArtifact parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LicenseVerificationArtifact parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LicenseVerificationArtifact parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LicenseVerificationArtifact parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LicenseVerificationArtifact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LicenseVerificationArtifact parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LicenseVerificationArtifact parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static LicenseVerificationArtifact parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static LicenseVerificationArtifact parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static LicenseVerificationArtifact parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static LicenseVerificationArtifact parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static LicenseVerificationArtifact parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public LicenseVerificationArtifact.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static LicenseVerificationArtifact.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected LicenseVerificationArtifact.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static LicenseVerificationArtifact getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<LicenseVerificationArtifact> parser()
    • getParserForType

      public com.google.protobuf.Parser<LicenseVerificationArtifact> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public LicenseVerificationArtifact getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder