Class InsuranceVerificationArtifact

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.resources.InsuranceVerificationArtifact
All Implemented Interfaces:
InsuranceVerificationArtifactOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, 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.v18.resources.InsuranceVerificationArtifact
See Also:
  • Field Details

    • AMOUNT_MICROS_FIELD_NUMBER

      public static final int AMOUNT_MICROS_FIELD_NUMBER
      See Also:
    • REJECTION_REASON_FIELD_NUMBER

      public static final int REJECTION_REASON_FIELD_NUMBER
      See Also:
    • INSURANCE_DOCUMENT_READONLY_FIELD_NUMBER

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

       Output only. Insurance document's rejection reason.
       
      optional .google.ads.googleads.v18.enums.LocalServicesInsuranceRejectionReasonEnum.LocalServicesInsuranceRejectionReason rejection_reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRejectionReason in interface InsuranceVerificationArtifactOrBuilder
      Returns:
      The rejectionReason.
    • hasInsuranceDocumentReadonly

      public boolean hasInsuranceDocumentReadonly()
       Output only. The readonly field containing the information for an uploaded
       insurance document.
       
      optional .google.ads.googleads.v18.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.v18.common.LocalServicesDocumentReadOnly insurance_document_readonly = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInsuranceDocumentReadonly in interface InsuranceVerificationArtifactOrBuilder
      Returns:
      The insuranceDocumentReadonly.
    • getInsuranceDocumentReadonlyOrBuilder

      public LocalServicesDocumentReadOnlyOrBuilder getInsuranceDocumentReadonlyOrBuilder()
       Output only. The readonly field containing the information for an uploaded
       insurance document.
       
      optional .google.ads.googleads.v18.common.LocalServicesDocumentReadOnly insurance_document_readonly = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInsuranceDocumentReadonlyOrBuilder in interface InsuranceVerificationArtifactOrBuilder
    • hasExpirationDateTime

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

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

      public com.google.protobuf.ByteString getExpirationDateTimeBytes()
       Output only. The timestamp when this insurance 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 = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getExpirationDateTimeBytes in interface InsuranceVerificationArtifactOrBuilder
      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 InsuranceVerificationArtifact parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InsuranceVerificationArtifact parseFrom(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(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

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

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

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

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

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

      public static InsuranceVerificationArtifact.Builder newBuilder()
    • newBuilder

    • 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
    • getDefaultInstance

      public static InsuranceVerificationArtifact getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<InsuranceVerificationArtifact> parser()
    • 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