Class LocalServicesVerificationArtifact

  • All Implemented Interfaces:
    LocalServicesVerificationArtifactOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.io.Serializable

    public final class LocalServicesVerificationArtifact
    extends com.google.protobuf.GeneratedMessageV3
    implements LocalServicesVerificationArtifactOrBuilder
     A local services verification resource.
     
    Protobuf type google.ads.googleads.v15.resources.LocalServicesVerificationArtifact
    See Also:
    Serialized Form
    • Field Detail

      • RESOURCE_NAME_FIELD_NUMBER

        public static final int RESOURCE_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CREATION_DATE_TIME_FIELD_NUMBER

        public static final int CREATION_DATE_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ARTIFACT_TYPE_FIELD_NUMBER

        public static final int ARTIFACT_TYPE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • BACKGROUND_CHECK_VERIFICATION_ARTIFACT_FIELD_NUMBER

        public static final int BACKGROUND_CHECK_VERIFICATION_ARTIFACT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • INSURANCE_VERIFICATION_ARTIFACT_FIELD_NUMBER

        public static final int INSURANCE_VERIFICATION_ARTIFACT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • LICENSE_VERIFICATION_ARTIFACT_FIELD_NUMBER

        public static final int LICENSE_VERIFICATION_ARTIFACT_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
      • getResourceName

        public java.lang.String getResourceName()
         Immutable. The resource name of the Local Services Verification.
         Local Services Verification resource names have the form:
        
         `customers/{customer_id}/localServicesVerificationArtifacts/{verification_artifact_id}`
         
        string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Specified by:
        getResourceName in interface LocalServicesVerificationArtifactOrBuilder
        Returns:
        The resourceName.
      • getResourceNameBytes

        public com.google.protobuf.ByteString getResourceNameBytes()
         Immutable. The resource name of the Local Services Verification.
         Local Services Verification resource names have the form:
        
         `customers/{customer_id}/localServicesVerificationArtifacts/{verification_artifact_id}`
         
        string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Specified by:
        getResourceNameBytes in interface LocalServicesVerificationArtifactOrBuilder
        Returns:
        The bytes for resourceName.
      • hasId

        public boolean hasId()
         Output only. The ID of the verification artifact.
         
        optional int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasId in interface LocalServicesVerificationArtifactOrBuilder
        Returns:
        Whether the id field is set.
      • getId

        public long getId()
         Output only. The ID of the verification artifact.
         
        optional int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getId in interface LocalServicesVerificationArtifactOrBuilder
        Returns:
        The id.
      • getCreationDateTime

        public java.lang.String getCreationDateTime()
         Output only. The timestamp when this verification artifact was created.
         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"
         
        string creation_date_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreationDateTime in interface LocalServicesVerificationArtifactOrBuilder
        Returns:
        The creationDateTime.
      • getCreationDateTimeBytes

        public com.google.protobuf.ByteString getCreationDateTimeBytes()
         Output only. The timestamp when this verification artifact was created.
         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"
         
        string creation_date_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreationDateTimeBytes in interface LocalServicesVerificationArtifactOrBuilder
        Returns:
        The bytes for creationDateTime.
      • getStatusValue

        public int getStatusValue()
         Output only. The status of the verification artifact.
         
        .google.ads.googleads.v15.enums.LocalServicesVerificationArtifactStatusEnum.LocalServicesVerificationArtifactStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStatusValue in interface LocalServicesVerificationArtifactOrBuilder
        Returns:
        The enum numeric value on the wire for status.
      • getArtifactTypeValue

        public int getArtifactTypeValue()
         Output only. The type of the verification artifact.
         
        .google.ads.googleads.v15.enums.LocalServicesVerificationArtifactTypeEnum.LocalServicesVerificationArtifactType artifact_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getArtifactTypeValue in interface LocalServicesVerificationArtifactOrBuilder
        Returns:
        The enum numeric value on the wire for artifactType.
      • hasBackgroundCheckVerificationArtifact

        public boolean hasBackgroundCheckVerificationArtifact()
         Output only. A background check verification artifact.
         
        .google.ads.googleads.v15.resources.BackgroundCheckVerificationArtifact background_check_verification_artifact = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasBackgroundCheckVerificationArtifact in interface LocalServicesVerificationArtifactOrBuilder
        Returns:
        Whether the backgroundCheckVerificationArtifact field is set.
      • hasInsuranceVerificationArtifact

        public boolean hasInsuranceVerificationArtifact()
         Output only. An insurance verification artifact.
         
        .google.ads.googleads.v15.resources.InsuranceVerificationArtifact insurance_verification_artifact = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasInsuranceVerificationArtifact in interface LocalServicesVerificationArtifactOrBuilder
        Returns:
        Whether the insuranceVerificationArtifact field is set.
      • hasLicenseVerificationArtifact

        public boolean hasLicenseVerificationArtifact()
         Output only. A license verification artifact.
         
        .google.ads.googleads.v15.resources.LicenseVerificationArtifact license_verification_artifact = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasLicenseVerificationArtifact in interface LocalServicesVerificationArtifactOrBuilder
        Returns:
        Whether the licenseVerificationArtifact field is set.
      • 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 LocalServicesVerificationArtifact parseFrom​(java.nio.ByteBuffer data)
                                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static LocalServicesVerificationArtifact parseFrom​(java.nio.ByteBuffer data,
                                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

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

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

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

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

        protected LocalServicesVerificationArtifact.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<LocalServicesVerificationArtifact> 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 LocalServicesVerificationArtifact getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder