Class LicenseVerificationArtifact

  • All Implemented Interfaces:
    LicenseVerificationArtifactOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.io.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.v15.resources.LicenseVerificationArtifact
    See Also:
    Serialized Form
    • Field Detail

      • LICENSE_TYPE_FIELD_NUMBER

        public static final int LICENSE_TYPE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • LICENSE_NUMBER_FIELD_NUMBER

        public static final int LICENSE_NUMBER_FIELD_NUMBER
        See Also:
        Constant Field Values
      • LICENSEE_FIRST_NAME_FIELD_NUMBER

        public static final int LICENSEE_FIRST_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • LICENSEE_LAST_NAME_FIELD_NUMBER

        public static final int LICENSEE_LAST_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • REJECTION_REASON_FIELD_NUMBER

        public static final int REJECTION_REASON_FIELD_NUMBER
        See Also:
        Constant Field Values
      • LICENSE_DOCUMENT_READONLY_FIELD_NUMBER

        public static final int LICENSE_DOCUMENT_READONLY_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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.v15.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.v15.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.
      • hasLicenseDocumentReadonly

        public boolean hasLicenseDocumentReadonly()
         Output only. The readonly field containing the information for an uploaded
         license document.
         
        optional .google.ads.googleads.v15.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.v15.common.LocalServicesDocumentReadOnly license_document_readonly = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getLicenseDocumentReadonly in interface LicenseVerificationArtifactOrBuilder
        Returns:
        The licenseDocumentReadonly.
      • 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 java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.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​(java.lang.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​(java.nio.ByteBuffer data)
                                                     throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static LicenseVerificationArtifact parseFrom​(java.nio.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​(java.io.InputStream input)
                                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

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

        public static LicenseVerificationArtifact parseDelimitedFrom​(java.io.InputStream input)
                                                              throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

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

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

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

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

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