Class InsuranceVerificationArtifact

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

    public final class InsuranceVerificationArtifact
    extends com.google.protobuf.GeneratedMessageV3
    implements InsuranceVerificationArtifactOrBuilder
     A proto holding information specific to a local services insurance.
     
    Protobuf type google.ads.googleads.v15.resources.InsuranceVerificationArtifact
    See Also:
    Serialized Form
    • Field Detail

      • AMOUNT_MICROS_FIELD_NUMBER

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

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

        public static final int INSURANCE_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
      • 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.
      • hasRejectionReason

        public boolean hasRejectionReason()
         Output only. Insurance document's rejection reason.
         
        optional .google.ads.googleads.v15.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.v15.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.
      • hasInsuranceDocumentReadonly

        public boolean hasInsuranceDocumentReadonly()
         Output only. The readonly field containing the information for an uploaded
         insurance document.
         
        optional .google.ads.googleads.v15.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.v15.common.LocalServicesDocumentReadOnly insurance_document_readonly = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getInsuranceDocumentReadonly in interface InsuranceVerificationArtifactOrBuilder
        Returns:
        The insuranceDocumentReadonly.
      • 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 InsuranceVerificationArtifact parseFrom​(java.nio.ByteBuffer data)
                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

        public static InsuranceVerificationArtifact parseFrom​(java.io.InputStream input)
                                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

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

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

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

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

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

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

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

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

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