All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.ads.googleads.v17.resources.LocalServicesVerificationArtifact Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/ads/googleads/v17/resources/local_services_verification_artifact.proto

// Protobuf Java Version: 3.25.3
package com.google.ads.googleads.v17.resources;

/**
 * 
 * A local services verification resource.
 * 
* * Protobuf type {@code google.ads.googleads.v17.resources.LocalServicesVerificationArtifact} */ public final class LocalServicesVerificationArtifact extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.ads.googleads.v17.resources.LocalServicesVerificationArtifact) LocalServicesVerificationArtifactOrBuilder { private static final long serialVersionUID = 0L; // Use LocalServicesVerificationArtifact.newBuilder() to construct. private LocalServicesVerificationArtifact(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private LocalServicesVerificationArtifact() { resourceName_ = ""; creationDateTime_ = ""; status_ = 0; artifactType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new LocalServicesVerificationArtifact(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v17.resources.LocalServicesVerificationArtifactProto.internal_static_google_ads_googleads_v17_resources_LocalServicesVerificationArtifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v17.resources.LocalServicesVerificationArtifactProto.internal_static_google_ads_googleads_v17_resources_LocalServicesVerificationArtifact_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v17.resources.LocalServicesVerificationArtifact.class, com.google.ads.googleads.v17.resources.LocalServicesVerificationArtifact.Builder.class); } private int bitField0_; private int artifactDataCase_ = 0; @SuppressWarnings("serial") private java.lang.Object artifactData_; public enum ArtifactDataCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BACKGROUND_CHECK_VERIFICATION_ARTIFACT(6), INSURANCE_VERIFICATION_ARTIFACT(7), LICENSE_VERIFICATION_ARTIFACT(8), BUSINESS_REGISTRATION_CHECK_VERIFICATION_ARTIFACT(9), ARTIFACTDATA_NOT_SET(0); private final int value; private ArtifactDataCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static ArtifactDataCase valueOf(int value) { return forNumber(value); } public static ArtifactDataCase forNumber(int value) { switch (value) { case 6: return BACKGROUND_CHECK_VERIFICATION_ARTIFACT; case 7: return INSURANCE_VERIFICATION_ARTIFACT; case 8: return LICENSE_VERIFICATION_ARTIFACT; case 9: return BUSINESS_REGISTRATION_CHECK_VERIFICATION_ARTIFACT; case 0: return ARTIFACTDATA_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public ArtifactDataCase getArtifactDataCase() { return ArtifactDataCase.forNumber( artifactDataCase_); } public static final int RESOURCE_NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object resourceName_ = ""; /** *
   * 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) = { ... } * @return The resourceName. */ @java.lang.Override public java.lang.String getResourceName() { java.lang.Object ref = resourceName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceName_ = s; return s; } } /** *
   * 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) = { ... } * @return The bytes for resourceName. */ @java.lang.Override public com.google.protobuf.ByteString getResourceNameBytes() { java.lang.Object ref = resourceName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); resourceName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ID_FIELD_NUMBER = 2; private long id_ = 0L; /** *
   * Output only. The ID of the verification artifact.
   * 
* * optional int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the id field is set. */ @java.lang.Override public boolean hasId() { return ((bitField0_ & 0x00000001) != 0); } /** *
   * Output only. The ID of the verification artifact.
   * 
* * optional int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The id. */ @java.lang.Override public long getId() { return id_; } public static final int CREATION_DATE_TIME_FIELD_NUMBER = 3; @SuppressWarnings("serial") private volatile java.lang.Object creationDateTime_ = ""; /** *
   * 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]; * @return The creationDateTime. */ @java.lang.Override public java.lang.String getCreationDateTime() { java.lang.Object ref = creationDateTime_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); creationDateTime_ = s; return s; } } /** *
   * 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]; * @return The bytes for creationDateTime. */ @java.lang.Override public com.google.protobuf.ByteString getCreationDateTimeBytes() { java.lang.Object ref = creationDateTime_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); creationDateTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STATUS_FIELD_NUMBER = 4; private int status_ = 0; /** *
   * Output only. The status of the verification artifact.
   * 
* * .google.ads.googleads.v17.enums.LocalServicesVerificationArtifactStatusEnum.LocalServicesVerificationArtifactStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for status. */ @java.lang.Override public int getStatusValue() { return status_; } /** *
   * Output only. The status of the verification artifact.
   * 
* * .google.ads.googleads.v17.enums.LocalServicesVerificationArtifactStatusEnum.LocalServicesVerificationArtifactStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The status. */ @java.lang.Override public com.google.ads.googleads.v17.enums.LocalServicesVerificationArtifactStatusEnum.LocalServicesVerificationArtifactStatus getStatus() { com.google.ads.googleads.v17.enums.LocalServicesVerificationArtifactStatusEnum.LocalServicesVerificationArtifactStatus result = com.google.ads.googleads.v17.enums.LocalServicesVerificationArtifactStatusEnum.LocalServicesVerificationArtifactStatus.forNumber(status_); return result == null ? com.google.ads.googleads.v17.enums.LocalServicesVerificationArtifactStatusEnum.LocalServicesVerificationArtifactStatus.UNRECOGNIZED : result; } public static final int ARTIFACT_TYPE_FIELD_NUMBER = 5; private int artifactType_ = 0; /** *
   * Output only. The type of the verification artifact.
   * 
* * .google.ads.googleads.v17.enums.LocalServicesVerificationArtifactTypeEnum.LocalServicesVerificationArtifactType artifact_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for artifactType. */ @java.lang.Override public int getArtifactTypeValue() { return artifactType_; } /** *
   * Output only. The type of the verification artifact.
   * 
* * .google.ads.googleads.v17.enums.LocalServicesVerificationArtifactTypeEnum.LocalServicesVerificationArtifactType artifact_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The artifactType. */ @java.lang.Override public com.google.ads.googleads.v17.enums.LocalServicesVerificationArtifactTypeEnum.LocalServicesVerificationArtifactType getArtifactType() { com.google.ads.googleads.v17.enums.LocalServicesVerificationArtifactTypeEnum.LocalServicesVerificationArtifactType result = com.google.ads.googleads.v17.enums.LocalServicesVerificationArtifactTypeEnum.LocalServicesVerificationArtifactType.forNumber(artifactType_); return result == null ? com.google.ads.googleads.v17.enums.LocalServicesVerificationArtifactTypeEnum.LocalServicesVerificationArtifactType.UNRECOGNIZED : result; } public static final int BACKGROUND_CHECK_VERIFICATION_ARTIFACT_FIELD_NUMBER = 6; /** *
   * Output only. A background check verification artifact.
   * 
* * .google.ads.googleads.v17.resources.BackgroundCheckVerificationArtifact background_check_verification_artifact = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the backgroundCheckVerificationArtifact field is set. */ @java.lang.Override public boolean hasBackgroundCheckVerificationArtifact() { return artifactDataCase_ == 6; } /** *
   * Output only. A background check verification artifact.
   * 
* * .google.ads.googleads.v17.resources.BackgroundCheckVerificationArtifact background_check_verification_artifact = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The backgroundCheckVerificationArtifact. */ @java.lang.Override public com.google.ads.googleads.v17.resources.BackgroundCheckVerificationArtifact getBackgroundCheckVerificationArtifact() { if (artifactDataCase_ == 6) { return (com.google.ads.googleads.v17.resources.BackgroundCheckVerificationArtifact) artifactData_; } return com.google.ads.googleads.v17.resources.BackgroundCheckVerificationArtifact.getDefaultInstance(); } /** *
   * Output only. A background check verification artifact.
   * 
* * .google.ads.googleads.v17.resources.BackgroundCheckVerificationArtifact background_check_verification_artifact = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.ads.googleads.v17.resources.BackgroundCheckVerificationArtifactOrBuilder getBackgroundCheckVerificationArtifactOrBuilder() { if (artifactDataCase_ == 6) { return (com.google.ads.googleads.v17.resources.BackgroundCheckVerificationArtifact) artifactData_; } return com.google.ads.googleads.v17.resources.BackgroundCheckVerificationArtifact.getDefaultInstance(); } public static final int INSURANCE_VERIFICATION_ARTIFACT_FIELD_NUMBER = 7; /** *
   * Output only. An insurance verification artifact.
   * 
* * .google.ads.googleads.v17.resources.InsuranceVerificationArtifact insurance_verification_artifact = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the insuranceVerificationArtifact field is set. */ @java.lang.Override public boolean hasInsuranceVerificationArtifact() { return artifactDataCase_ == 7; } /** *
   * Output only. An insurance verification artifact.
   * 
* * .google.ads.googleads.v17.resources.InsuranceVerificationArtifact insurance_verification_artifact = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The insuranceVerificationArtifact. */ @java.lang.Override public com.google.ads.googleads.v17.resources.InsuranceVerificationArtifact getInsuranceVerificationArtifact() { if (artifactDataCase_ == 7) { return (com.google.ads.googleads.v17.resources.InsuranceVerificationArtifact) artifactData_; } return com.google.ads.googleads.v17.resources.InsuranceVerificationArtifact.getDefaultInstance(); } /** *
   * Output only. An insurance verification artifact.
   * 
* * .google.ads.googleads.v17.resources.InsuranceVerificationArtifact insurance_verification_artifact = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.ads.googleads.v17.resources.InsuranceVerificationArtifactOrBuilder getInsuranceVerificationArtifactOrBuilder() { if (artifactDataCase_ == 7) { return (com.google.ads.googleads.v17.resources.InsuranceVerificationArtifact) artifactData_; } return com.google.ads.googleads.v17.resources.InsuranceVerificationArtifact.getDefaultInstance(); } public static final int LICENSE_VERIFICATION_ARTIFACT_FIELD_NUMBER = 8; /** *
   * Output only. A license verification artifact.
   * 
* * .google.ads.googleads.v17.resources.LicenseVerificationArtifact license_verification_artifact = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the licenseVerificationArtifact field is set. */ @java.lang.Override public boolean hasLicenseVerificationArtifact() { return artifactDataCase_ == 8; } /** *
   * Output only. A license verification artifact.
   * 
* * .google.ads.googleads.v17.resources.LicenseVerificationArtifact license_verification_artifact = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The licenseVerificationArtifact. */ @java.lang.Override public com.google.ads.googleads.v17.resources.LicenseVerificationArtifact getLicenseVerificationArtifact() { if (artifactDataCase_ == 8) { return (com.google.ads.googleads.v17.resources.LicenseVerificationArtifact) artifactData_; } return com.google.ads.googleads.v17.resources.LicenseVerificationArtifact.getDefaultInstance(); } /** *
   * Output only. A license verification artifact.
   * 
* * .google.ads.googleads.v17.resources.LicenseVerificationArtifact license_verification_artifact = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.ads.googleads.v17.resources.LicenseVerificationArtifactOrBuilder getLicenseVerificationArtifactOrBuilder() { if (artifactDataCase_ == 8) { return (com.google.ads.googleads.v17.resources.LicenseVerificationArtifact) artifactData_; } return com.google.ads.googleads.v17.resources.LicenseVerificationArtifact.getDefaultInstance(); } public static final int BUSINESS_REGISTRATION_CHECK_VERIFICATION_ARTIFACT_FIELD_NUMBER = 9; /** *
   * Output only. A business registration check verification artifact.
   * 
* * .google.ads.googleads.v17.resources.BusinessRegistrationCheckVerificationArtifact business_registration_check_verification_artifact = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the businessRegistrationCheckVerificationArtifact field is set. */ @java.lang.Override public boolean hasBusinessRegistrationCheckVerificationArtifact() { return artifactDataCase_ == 9; } /** *
   * Output only. A business registration check verification artifact.
   * 
* * .google.ads.googleads.v17.resources.BusinessRegistrationCheckVerificationArtifact business_registration_check_verification_artifact = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The businessRegistrationCheckVerificationArtifact. */ @java.lang.Override public com.google.ads.googleads.v17.resources.BusinessRegistrationCheckVerificationArtifact getBusinessRegistrationCheckVerificationArtifact() { if (artifactDataCase_ == 9) { return (com.google.ads.googleads.v17.resources.BusinessRegistrationCheckVerificationArtifact) artifactData_; } return com.google.ads.googleads.v17.resources.BusinessRegistrationCheckVerificationArtifact.getDefaultInstance(); } /** *
   * Output only. A business registration check verification artifact.
   * 
* * .google.ads.googleads.v17.resources.BusinessRegistrationCheckVerificationArtifact business_registration_check_verification_artifact = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.ads.googleads.v17.resources.BusinessRegistrationCheckVerificationArtifactOrBuilder getBusinessRegistrationCheckVerificationArtifactOrBuilder() { if (artifactDataCase_ == 9) { return (com.google.ads.googleads.v17.resources.BusinessRegistrationCheckVerificationArtifact) artifactData_; } return com.google.ads.googleads.v17.resources.BusinessRegistrationCheckVerificationArtifact.getDefaultInstance(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resourceName_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeInt64(2, id_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(creationDateTime_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, creationDateTime_); } if (status_ != com.google.ads.googleads.v17.enums.LocalServicesVerificationArtifactStatusEnum.LocalServicesVerificationArtifactStatus.UNSPECIFIED.getNumber()) { output.writeEnum(4, status_); } if (artifactType_ != com.google.ads.googleads.v17.enums.LocalServicesVerificationArtifactTypeEnum.LocalServicesVerificationArtifactType.UNSPECIFIED.getNumber()) { output.writeEnum(5, artifactType_); } if (artifactDataCase_ == 6) { output.writeMessage(6, (com.google.ads.googleads.v17.resources.BackgroundCheckVerificationArtifact) artifactData_); } if (artifactDataCase_ == 7) { output.writeMessage(7, (com.google.ads.googleads.v17.resources.InsuranceVerificationArtifact) artifactData_); } if (artifactDataCase_ == 8) { output.writeMessage(8, (com.google.ads.googleads.v17.resources.LicenseVerificationArtifact) artifactData_); } if (artifactDataCase_ == 9) { output.writeMessage(9, (com.google.ads.googleads.v17.resources.BusinessRegistrationCheckVerificationArtifact) artifactData_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resourceName_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, id_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(creationDateTime_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, creationDateTime_); } if (status_ != com.google.ads.googleads.v17.enums.LocalServicesVerificationArtifactStatusEnum.LocalServicesVerificationArtifactStatus.UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(4, status_); } if (artifactType_ != com.google.ads.googleads.v17.enums.LocalServicesVerificationArtifactTypeEnum.LocalServicesVerificationArtifactType.UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(5, artifactType_); } if (artifactDataCase_ == 6) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, (com.google.ads.googleads.v17.resources.BackgroundCheckVerificationArtifact) artifactData_); } if (artifactDataCase_ == 7) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, (com.google.ads.googleads.v17.resources.InsuranceVerificationArtifact) artifactData_); } if (artifactDataCase_ == 8) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, (com.google.ads.googleads.v17.resources.LicenseVerificationArtifact) artifactData_); } if (artifactDataCase_ == 9) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, (com.google.ads.googleads.v17.resources.BusinessRegistrationCheckVerificationArtifact) artifactData_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.ads.googleads.v17.resources.LocalServicesVerificationArtifact)) { return super.equals(obj); } com.google.ads.googleads.v17.resources.LocalServicesVerificationArtifact other = (com.google.ads.googleads.v17.resources.LocalServicesVerificationArtifact) obj; if (!getResourceName() .equals(other.getResourceName())) return false; if (hasId() != other.hasId()) return false; if (hasId()) { if (getId() != other.getId()) return false; } if (!getCreationDateTime() .equals(other.getCreationDateTime())) return false; if (status_ != other.status_) return false; if (artifactType_ != other.artifactType_) return false; if (!getArtifactDataCase().equals(other.getArtifactDataCase())) return false; switch (artifactDataCase_) { case 6: if (!getBackgroundCheckVerificationArtifact() .equals(other.getBackgroundCheckVerificationArtifact())) return false; break; case 7: if (!getInsuranceVerificationArtifact() .equals(other.getInsuranceVerificationArtifact())) return false; break; case 8: if (!getLicenseVerificationArtifact() .equals(other.getLicenseVerificationArtifact())) return false; break; case 9: if (!getBusinessRegistrationCheckVerificationArtifact() .equals(other.getBusinessRegistrationCheckVerificationArtifact())) return false; break; case 0: default: } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + RESOURCE_NAME_FIELD_NUMBER; hash = (53 * hash) + getResourceName().hashCode(); if (hasId()) { hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getId()); } hash = (37 * hash) + CREATION_DATE_TIME_FIELD_NUMBER; hash = (53 * hash) + getCreationDateTime().hashCode(); hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + status_; hash = (37 * hash) + ARTIFACT_TYPE_FIELD_NUMBER; hash = (53 * hash) + artifactType_; switch (artifactDataCase_) { case 6: hash = (37 * hash) + BACKGROUND_CHECK_VERIFICATION_ARTIFACT_FIELD_NUMBER; hash = (53 * hash) + getBackgroundCheckVerificationArtifact().hashCode(); break; case 7: hash = (37 * hash) + INSURANCE_VERIFICATION_ARTIFACT_FIELD_NUMBER; hash = (53 * hash) + getInsuranceVerificationArtifact().hashCode(); break; case 8: hash = (37 * hash) + LICENSE_VERIFICATION_ARTIFACT_FIELD_NUMBER; hash = (53 * hash) + getLicenseVerificationArtifact().hashCode(); break; case 9: hash = (37 * hash) + BUSINESS_REGISTRATION_CHECK_VERIFICATION_ARTIFACT_FIELD_NUMBER; hash = (53 * hash) + getBusinessRegistrationCheckVerificationArtifact().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.ads.googleads.v17.resources.LocalServicesVerificationArtifact parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.resources.LocalServicesVerificationArtifact parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.ads.googleads.v17.resources.LocalServicesVerificationArtifact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.resources.LocalServicesVerificationArtifact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.ads.googleads.v17.resources.LocalServicesVerificationArtifact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.resources.LocalServicesVerificationArtifact parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.ads.googleads.v17.resources.LocalServicesVerificationArtifact parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.ads.googleads.v17.resources.LocalServicesVerificationArtifact parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.ads.googleads.v17.resources.LocalServicesVerificationArtifact parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.ads.googleads.v17.resources.LocalServicesVerificationArtifact parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.ads.googleads.v17.resources.LocalServicesVerificationArtifact parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.ads.googleads.v17.resources.LocalServicesVerificationArtifact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.ads.googleads.v17.resources.LocalServicesVerificationArtifact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
   * A local services verification resource.
   * 
* * Protobuf type {@code google.ads.googleads.v17.resources.LocalServicesVerificationArtifact} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.ads.googleads.v17.resources.LocalServicesVerificationArtifact) com.google.ads.googleads.v17.resources.LocalServicesVerificationArtifactOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v17.resources.LocalServicesVerificationArtifactProto.internal_static_google_ads_googleads_v17_resources_LocalServicesVerificationArtifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v17.resources.LocalServicesVerificationArtifactProto.internal_static_google_ads_googleads_v17_resources_LocalServicesVerificationArtifact_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v17.resources.LocalServicesVerificationArtifact.class, com.google.ads.googleads.v17.resources.LocalServicesVerificationArtifact.Builder.class); } // Construct using com.google.ads.googleads.v17.resources.LocalServicesVerificationArtifact.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; resourceName_ = ""; id_ = 0L; creationDateTime_ = ""; status_ = 0; artifactType_ = 0; if (backgroundCheckVerificationArtifactBuilder_ != null) { backgroundCheckVerificationArtifactBuilder_.clear(); } if (insuranceVerificationArtifactBuilder_ != null) { insuranceVerificationArtifactBuilder_.clear(); } if (licenseVerificationArtifactBuilder_ != null) { licenseVerificationArtifactBuilder_.clear(); } if (businessRegistrationCheckVerificationArtifactBuilder_ != null) { businessRegistrationCheckVerificationArtifactBuilder_.clear(); } artifactDataCase_ = 0; artifactData_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.ads.googleads.v17.resources.LocalServicesVerificationArtifactProto.internal_static_google_ads_googleads_v17_resources_LocalServicesVerificationArtifact_descriptor; } @java.lang.Override public com.google.ads.googleads.v17.resources.LocalServicesVerificationArtifact getDefaultInstanceForType() { return com.google.ads.googleads.v17.resources.LocalServicesVerificationArtifact.getDefaultInstance(); } @java.lang.Override public com.google.ads.googleads.v17.resources.LocalServicesVerificationArtifact build() { com.google.ads.googleads.v17.resources.LocalServicesVerificationArtifact result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.ads.googleads.v17.resources.LocalServicesVerificationArtifact buildPartial() { com.google.ads.googleads.v17.resources.LocalServicesVerificationArtifact result = new com.google.ads.googleads.v17.resources.LocalServicesVerificationArtifact(this); if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartial0(com.google.ads.googleads.v17.resources.LocalServicesVerificationArtifact result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.resourceName_ = resourceName_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.id_ = id_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.creationDateTime_ = creationDateTime_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.status_ = status_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.artifactType_ = artifactType_; } result.bitField0_ |= to_bitField0_; } private void buildPartialOneofs(com.google.ads.googleads.v17.resources.LocalServicesVerificationArtifact result) { result.artifactDataCase_ = artifactDataCase_; result.artifactData_ = this.artifactData_; if (artifactDataCase_ == 6 && backgroundCheckVerificationArtifactBuilder_ != null) { result.artifactData_ = backgroundCheckVerificationArtifactBuilder_.build(); } if (artifactDataCase_ == 7 && insuranceVerificationArtifactBuilder_ != null) { result.artifactData_ = insuranceVerificationArtifactBuilder_.build(); } if (artifactDataCase_ == 8 && licenseVerificationArtifactBuilder_ != null) { result.artifactData_ = licenseVerificationArtifactBuilder_.build(); } if (artifactDataCase_ == 9 && businessRegistrationCheckVerificationArtifactBuilder_ != null) { result.artifactData_ = businessRegistrationCheckVerificationArtifactBuilder_.build(); } } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.ads.googleads.v17.resources.LocalServicesVerificationArtifact) { return mergeFrom((com.google.ads.googleads.v17.resources.LocalServicesVerificationArtifact)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.ads.googleads.v17.resources.LocalServicesVerificationArtifact other) { if (other == com.google.ads.googleads.v17.resources.LocalServicesVerificationArtifact.getDefaultInstance()) return this; if (!other.getResourceName().isEmpty()) { resourceName_ = other.resourceName_; bitField0_ |= 0x00000001; onChanged(); } if (other.hasId()) { setId(other.getId()); } if (!other.getCreationDateTime().isEmpty()) { creationDateTime_ = other.creationDateTime_; bitField0_ |= 0x00000004; onChanged(); } if (other.status_ != 0) { setStatusValue(other.getStatusValue()); } if (other.artifactType_ != 0) { setArtifactTypeValue(other.getArtifactTypeValue()); } switch (other.getArtifactDataCase()) { case BACKGROUND_CHECK_VERIFICATION_ARTIFACT: { mergeBackgroundCheckVerificationArtifact(other.getBackgroundCheckVerificationArtifact()); break; } case INSURANCE_VERIFICATION_ARTIFACT: { mergeInsuranceVerificationArtifact(other.getInsuranceVerificationArtifact()); break; } case LICENSE_VERIFICATION_ARTIFACT: { mergeLicenseVerificationArtifact(other.getLicenseVerificationArtifact()); break; } case BUSINESS_REGISTRATION_CHECK_VERIFICATION_ARTIFACT: { mergeBusinessRegistrationCheckVerificationArtifact(other.getBusinessRegistrationCheckVerificationArtifact()); break; } case ARTIFACTDATA_NOT_SET: { break; } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { resourceName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 16: { id_ = input.readInt64(); bitField0_ |= 0x00000002; break; } // case 16 case 26: { creationDateTime_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000004; break; } // case 26 case 32: { status_ = input.readEnum(); bitField0_ |= 0x00000008; break; } // case 32 case 40: { artifactType_ = input.readEnum(); bitField0_ |= 0x00000010; break; } // case 40 case 50: { input.readMessage( getBackgroundCheckVerificationArtifactFieldBuilder().getBuilder(), extensionRegistry); artifactDataCase_ = 6; break; } // case 50 case 58: { input.readMessage( getInsuranceVerificationArtifactFieldBuilder().getBuilder(), extensionRegistry); artifactDataCase_ = 7; break; } // case 58 case 66: { input.readMessage( getLicenseVerificationArtifactFieldBuilder().getBuilder(), extensionRegistry); artifactDataCase_ = 8; break; } // case 66 case 74: { input.readMessage( getBusinessRegistrationCheckVerificationArtifactFieldBuilder().getBuilder(), extensionRegistry); artifactDataCase_ = 9; break; } // case 74 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int artifactDataCase_ = 0; private java.lang.Object artifactData_; public ArtifactDataCase getArtifactDataCase() { return ArtifactDataCase.forNumber( artifactDataCase_); } public Builder clearArtifactData() { artifactDataCase_ = 0; artifactData_ = null; onChanged(); return this; } private int bitField0_; private java.lang.Object resourceName_ = ""; /** *
     * 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) = { ... } * @return The resourceName. */ public java.lang.String getResourceName() { java.lang.Object ref = resourceName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * 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) = { ... } * @return The bytes for resourceName. */ public com.google.protobuf.ByteString getResourceNameBytes() { java.lang.Object ref = resourceName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); resourceName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * 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) = { ... } * @param value The resourceName to set. * @return This builder for chaining. */ public Builder setResourceName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } resourceName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * 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) = { ... } * @return This builder for chaining. */ public Builder clearResourceName() { resourceName_ = getDefaultInstance().getResourceName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
     * 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) = { ... } * @param value The bytes for resourceName to set. * @return This builder for chaining. */ public Builder setResourceNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); resourceName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private long id_ ; /** *
     * Output only. The ID of the verification artifact.
     * 
* * optional int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the id field is set. */ @java.lang.Override public boolean hasId() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Output only. The ID of the verification artifact.
     * 
* * optional int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The id. */ @java.lang.Override public long getId() { return id_; } /** *
     * Output only. The ID of the verification artifact.
     * 
* * optional int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The id to set. * @return This builder for chaining. */ public Builder setId(long value) { id_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * Output only. The ID of the verification artifact.
     * 
* * optional int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearId() { bitField0_ = (bitField0_ & ~0x00000002); id_ = 0L; onChanged(); return this; } private java.lang.Object creationDateTime_ = ""; /** *
     * 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]; * @return The creationDateTime. */ public java.lang.String getCreationDateTime() { java.lang.Object ref = creationDateTime_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); creationDateTime_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * 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]; * @return The bytes for creationDateTime. */ public com.google.protobuf.ByteString getCreationDateTimeBytes() { java.lang.Object ref = creationDateTime_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); creationDateTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * 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]; * @param value The creationDateTime to set. * @return This builder for chaining. */ public Builder setCreationDateTime( java.lang.String value) { if (value == null) { throw new NullPointerException(); } creationDateTime_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     * 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]; * @return This builder for chaining. */ public Builder clearCreationDateTime() { creationDateTime_ = getDefaultInstance().getCreationDateTime(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** *
     * 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]; * @param value The bytes for creationDateTime to set. * @return This builder for chaining. */ public Builder setCreationDateTimeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); creationDateTime_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } private int status_ = 0; /** *
     * Output only. The status of the verification artifact.
     * 
* * .google.ads.googleads.v17.enums.LocalServicesVerificationArtifactStatusEnum.LocalServicesVerificationArtifactStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for status. */ @java.lang.Override public int getStatusValue() { return status_; } /** *
     * Output only. The status of the verification artifact.
     * 
* * .google.ads.googleads.v17.enums.LocalServicesVerificationArtifactStatusEnum.LocalServicesVerificationArtifactStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { status_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     * Output only. The status of the verification artifact.
     * 
* * .google.ads.googleads.v17.enums.LocalServicesVerificationArtifactStatusEnum.LocalServicesVerificationArtifactStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The status. */ @java.lang.Override public com.google.ads.googleads.v17.enums.LocalServicesVerificationArtifactStatusEnum.LocalServicesVerificationArtifactStatus getStatus() { com.google.ads.googleads.v17.enums.LocalServicesVerificationArtifactStatusEnum.LocalServicesVerificationArtifactStatus result = com.google.ads.googleads.v17.enums.LocalServicesVerificationArtifactStatusEnum.LocalServicesVerificationArtifactStatus.forNumber(status_); return result == null ? com.google.ads.googleads.v17.enums.LocalServicesVerificationArtifactStatusEnum.LocalServicesVerificationArtifactStatus.UNRECOGNIZED : result; } /** *
     * Output only. The status of the verification artifact.
     * 
* * .google.ads.googleads.v17.enums.LocalServicesVerificationArtifactStatusEnum.LocalServicesVerificationArtifactStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The status to set. * @return This builder for chaining. */ public Builder setStatus(com.google.ads.googleads.v17.enums.LocalServicesVerificationArtifactStatusEnum.LocalServicesVerificationArtifactStatus value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; status_ = value.getNumber(); onChanged(); return this; } /** *
     * Output only. The status of the verification artifact.
     * 
* * .google.ads.googleads.v17.enums.LocalServicesVerificationArtifactStatusEnum.LocalServicesVerificationArtifactStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearStatus() { bitField0_ = (bitField0_ & ~0x00000008); status_ = 0; onChanged(); return this; } private int artifactType_ = 0; /** *
     * Output only. The type of the verification artifact.
     * 
* * .google.ads.googleads.v17.enums.LocalServicesVerificationArtifactTypeEnum.LocalServicesVerificationArtifactType artifact_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for artifactType. */ @java.lang.Override public int getArtifactTypeValue() { return artifactType_; } /** *
     * Output only. The type of the verification artifact.
     * 
* * .google.ads.googleads.v17.enums.LocalServicesVerificationArtifactTypeEnum.LocalServicesVerificationArtifactType artifact_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for artifactType to set. * @return This builder for chaining. */ public Builder setArtifactTypeValue(int value) { artifactType_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
     * Output only. The type of the verification artifact.
     * 
* * .google.ads.googleads.v17.enums.LocalServicesVerificationArtifactTypeEnum.LocalServicesVerificationArtifactType artifact_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The artifactType. */ @java.lang.Override public com.google.ads.googleads.v17.enums.LocalServicesVerificationArtifactTypeEnum.LocalServicesVerificationArtifactType getArtifactType() { com.google.ads.googleads.v17.enums.LocalServicesVerificationArtifactTypeEnum.LocalServicesVerificationArtifactType result = com.google.ads.googleads.v17.enums.LocalServicesVerificationArtifactTypeEnum.LocalServicesVerificationArtifactType.forNumber(artifactType_); return result == null ? com.google.ads.googleads.v17.enums.LocalServicesVerificationArtifactTypeEnum.LocalServicesVerificationArtifactType.UNRECOGNIZED : result; } /** *
     * Output only. The type of the verification artifact.
     * 
* * .google.ads.googleads.v17.enums.LocalServicesVerificationArtifactTypeEnum.LocalServicesVerificationArtifactType artifact_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The artifactType to set. * @return This builder for chaining. */ public Builder setArtifactType(com.google.ads.googleads.v17.enums.LocalServicesVerificationArtifactTypeEnum.LocalServicesVerificationArtifactType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; artifactType_ = value.getNumber(); onChanged(); return this; } /** *
     * Output only. The type of the verification artifact.
     * 
* * .google.ads.googleads.v17.enums.LocalServicesVerificationArtifactTypeEnum.LocalServicesVerificationArtifactType artifact_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearArtifactType() { bitField0_ = (bitField0_ & ~0x00000010); artifactType_ = 0; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v17.resources.BackgroundCheckVerificationArtifact, com.google.ads.googleads.v17.resources.BackgroundCheckVerificationArtifact.Builder, com.google.ads.googleads.v17.resources.BackgroundCheckVerificationArtifactOrBuilder> backgroundCheckVerificationArtifactBuilder_; /** *
     * Output only. A background check verification artifact.
     * 
* * .google.ads.googleads.v17.resources.BackgroundCheckVerificationArtifact background_check_verification_artifact = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the backgroundCheckVerificationArtifact field is set. */ @java.lang.Override public boolean hasBackgroundCheckVerificationArtifact() { return artifactDataCase_ == 6; } /** *
     * Output only. A background check verification artifact.
     * 
* * .google.ads.googleads.v17.resources.BackgroundCheckVerificationArtifact background_check_verification_artifact = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The backgroundCheckVerificationArtifact. */ @java.lang.Override public com.google.ads.googleads.v17.resources.BackgroundCheckVerificationArtifact getBackgroundCheckVerificationArtifact() { if (backgroundCheckVerificationArtifactBuilder_ == null) { if (artifactDataCase_ == 6) { return (com.google.ads.googleads.v17.resources.BackgroundCheckVerificationArtifact) artifactData_; } return com.google.ads.googleads.v17.resources.BackgroundCheckVerificationArtifact.getDefaultInstance(); } else { if (artifactDataCase_ == 6) { return backgroundCheckVerificationArtifactBuilder_.getMessage(); } return com.google.ads.googleads.v17.resources.BackgroundCheckVerificationArtifact.getDefaultInstance(); } } /** *
     * Output only. A background check verification artifact.
     * 
* * .google.ads.googleads.v17.resources.BackgroundCheckVerificationArtifact background_check_verification_artifact = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setBackgroundCheckVerificationArtifact(com.google.ads.googleads.v17.resources.BackgroundCheckVerificationArtifact value) { if (backgroundCheckVerificationArtifactBuilder_ == null) { if (value == null) { throw new NullPointerException(); } artifactData_ = value; onChanged(); } else { backgroundCheckVerificationArtifactBuilder_.setMessage(value); } artifactDataCase_ = 6; return this; } /** *
     * Output only. A background check verification artifact.
     * 
* * .google.ads.googleads.v17.resources.BackgroundCheckVerificationArtifact background_check_verification_artifact = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setBackgroundCheckVerificationArtifact( com.google.ads.googleads.v17.resources.BackgroundCheckVerificationArtifact.Builder builderForValue) { if (backgroundCheckVerificationArtifactBuilder_ == null) { artifactData_ = builderForValue.build(); onChanged(); } else { backgroundCheckVerificationArtifactBuilder_.setMessage(builderForValue.build()); } artifactDataCase_ = 6; return this; } /** *
     * Output only. A background check verification artifact.
     * 
* * .google.ads.googleads.v17.resources.BackgroundCheckVerificationArtifact background_check_verification_artifact = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeBackgroundCheckVerificationArtifact(com.google.ads.googleads.v17.resources.BackgroundCheckVerificationArtifact value) { if (backgroundCheckVerificationArtifactBuilder_ == null) { if (artifactDataCase_ == 6 && artifactData_ != com.google.ads.googleads.v17.resources.BackgroundCheckVerificationArtifact.getDefaultInstance()) { artifactData_ = com.google.ads.googleads.v17.resources.BackgroundCheckVerificationArtifact.newBuilder((com.google.ads.googleads.v17.resources.BackgroundCheckVerificationArtifact) artifactData_) .mergeFrom(value).buildPartial(); } else { artifactData_ = value; } onChanged(); } else { if (artifactDataCase_ == 6) { backgroundCheckVerificationArtifactBuilder_.mergeFrom(value); } else { backgroundCheckVerificationArtifactBuilder_.setMessage(value); } } artifactDataCase_ = 6; return this; } /** *
     * Output only. A background check verification artifact.
     * 
* * .google.ads.googleads.v17.resources.BackgroundCheckVerificationArtifact background_check_verification_artifact = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearBackgroundCheckVerificationArtifact() { if (backgroundCheckVerificationArtifactBuilder_ == null) { if (artifactDataCase_ == 6) { artifactDataCase_ = 0; artifactData_ = null; onChanged(); } } else { if (artifactDataCase_ == 6) { artifactDataCase_ = 0; artifactData_ = null; } backgroundCheckVerificationArtifactBuilder_.clear(); } return this; } /** *
     * Output only. A background check verification artifact.
     * 
* * .google.ads.googleads.v17.resources.BackgroundCheckVerificationArtifact background_check_verification_artifact = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.ads.googleads.v17.resources.BackgroundCheckVerificationArtifact.Builder getBackgroundCheckVerificationArtifactBuilder() { return getBackgroundCheckVerificationArtifactFieldBuilder().getBuilder(); } /** *
     * Output only. A background check verification artifact.
     * 
* * .google.ads.googleads.v17.resources.BackgroundCheckVerificationArtifact background_check_verification_artifact = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.ads.googleads.v17.resources.BackgroundCheckVerificationArtifactOrBuilder getBackgroundCheckVerificationArtifactOrBuilder() { if ((artifactDataCase_ == 6) && (backgroundCheckVerificationArtifactBuilder_ != null)) { return backgroundCheckVerificationArtifactBuilder_.getMessageOrBuilder(); } else { if (artifactDataCase_ == 6) { return (com.google.ads.googleads.v17.resources.BackgroundCheckVerificationArtifact) artifactData_; } return com.google.ads.googleads.v17.resources.BackgroundCheckVerificationArtifact.getDefaultInstance(); } } /** *
     * Output only. A background check verification artifact.
     * 
* * .google.ads.googleads.v17.resources.BackgroundCheckVerificationArtifact background_check_verification_artifact = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v17.resources.BackgroundCheckVerificationArtifact, com.google.ads.googleads.v17.resources.BackgroundCheckVerificationArtifact.Builder, com.google.ads.googleads.v17.resources.BackgroundCheckVerificationArtifactOrBuilder> getBackgroundCheckVerificationArtifactFieldBuilder() { if (backgroundCheckVerificationArtifactBuilder_ == null) { if (!(artifactDataCase_ == 6)) { artifactData_ = com.google.ads.googleads.v17.resources.BackgroundCheckVerificationArtifact.getDefaultInstance(); } backgroundCheckVerificationArtifactBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v17.resources.BackgroundCheckVerificationArtifact, com.google.ads.googleads.v17.resources.BackgroundCheckVerificationArtifact.Builder, com.google.ads.googleads.v17.resources.BackgroundCheckVerificationArtifactOrBuilder>( (com.google.ads.googleads.v17.resources.BackgroundCheckVerificationArtifact) artifactData_, getParentForChildren(), isClean()); artifactData_ = null; } artifactDataCase_ = 6; onChanged(); return backgroundCheckVerificationArtifactBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v17.resources.InsuranceVerificationArtifact, com.google.ads.googleads.v17.resources.InsuranceVerificationArtifact.Builder, com.google.ads.googleads.v17.resources.InsuranceVerificationArtifactOrBuilder> insuranceVerificationArtifactBuilder_; /** *
     * Output only. An insurance verification artifact.
     * 
* * .google.ads.googleads.v17.resources.InsuranceVerificationArtifact insurance_verification_artifact = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the insuranceVerificationArtifact field is set. */ @java.lang.Override public boolean hasInsuranceVerificationArtifact() { return artifactDataCase_ == 7; } /** *
     * Output only. An insurance verification artifact.
     * 
* * .google.ads.googleads.v17.resources.InsuranceVerificationArtifact insurance_verification_artifact = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The insuranceVerificationArtifact. */ @java.lang.Override public com.google.ads.googleads.v17.resources.InsuranceVerificationArtifact getInsuranceVerificationArtifact() { if (insuranceVerificationArtifactBuilder_ == null) { if (artifactDataCase_ == 7) { return (com.google.ads.googleads.v17.resources.InsuranceVerificationArtifact) artifactData_; } return com.google.ads.googleads.v17.resources.InsuranceVerificationArtifact.getDefaultInstance(); } else { if (artifactDataCase_ == 7) { return insuranceVerificationArtifactBuilder_.getMessage(); } return com.google.ads.googleads.v17.resources.InsuranceVerificationArtifact.getDefaultInstance(); } } /** *
     * Output only. An insurance verification artifact.
     * 
* * .google.ads.googleads.v17.resources.InsuranceVerificationArtifact insurance_verification_artifact = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setInsuranceVerificationArtifact(com.google.ads.googleads.v17.resources.InsuranceVerificationArtifact value) { if (insuranceVerificationArtifactBuilder_ == null) { if (value == null) { throw new NullPointerException(); } artifactData_ = value; onChanged(); } else { insuranceVerificationArtifactBuilder_.setMessage(value); } artifactDataCase_ = 7; return this; } /** *
     * Output only. An insurance verification artifact.
     * 
* * .google.ads.googleads.v17.resources.InsuranceVerificationArtifact insurance_verification_artifact = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setInsuranceVerificationArtifact( com.google.ads.googleads.v17.resources.InsuranceVerificationArtifact.Builder builderForValue) { if (insuranceVerificationArtifactBuilder_ == null) { artifactData_ = builderForValue.build(); onChanged(); } else { insuranceVerificationArtifactBuilder_.setMessage(builderForValue.build()); } artifactDataCase_ = 7; return this; } /** *
     * Output only. An insurance verification artifact.
     * 
* * .google.ads.googleads.v17.resources.InsuranceVerificationArtifact insurance_verification_artifact = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeInsuranceVerificationArtifact(com.google.ads.googleads.v17.resources.InsuranceVerificationArtifact value) { if (insuranceVerificationArtifactBuilder_ == null) { if (artifactDataCase_ == 7 && artifactData_ != com.google.ads.googleads.v17.resources.InsuranceVerificationArtifact.getDefaultInstance()) { artifactData_ = com.google.ads.googleads.v17.resources.InsuranceVerificationArtifact.newBuilder((com.google.ads.googleads.v17.resources.InsuranceVerificationArtifact) artifactData_) .mergeFrom(value).buildPartial(); } else { artifactData_ = value; } onChanged(); } else { if (artifactDataCase_ == 7) { insuranceVerificationArtifactBuilder_.mergeFrom(value); } else { insuranceVerificationArtifactBuilder_.setMessage(value); } } artifactDataCase_ = 7; return this; } /** *
     * Output only. An insurance verification artifact.
     * 
* * .google.ads.googleads.v17.resources.InsuranceVerificationArtifact insurance_verification_artifact = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearInsuranceVerificationArtifact() { if (insuranceVerificationArtifactBuilder_ == null) { if (artifactDataCase_ == 7) { artifactDataCase_ = 0; artifactData_ = null; onChanged(); } } else { if (artifactDataCase_ == 7) { artifactDataCase_ = 0; artifactData_ = null; } insuranceVerificationArtifactBuilder_.clear(); } return this; } /** *
     * Output only. An insurance verification artifact.
     * 
* * .google.ads.googleads.v17.resources.InsuranceVerificationArtifact insurance_verification_artifact = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.ads.googleads.v17.resources.InsuranceVerificationArtifact.Builder getInsuranceVerificationArtifactBuilder() { return getInsuranceVerificationArtifactFieldBuilder().getBuilder(); } /** *
     * Output only. An insurance verification artifact.
     * 
* * .google.ads.googleads.v17.resources.InsuranceVerificationArtifact insurance_verification_artifact = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.ads.googleads.v17.resources.InsuranceVerificationArtifactOrBuilder getInsuranceVerificationArtifactOrBuilder() { if ((artifactDataCase_ == 7) && (insuranceVerificationArtifactBuilder_ != null)) { return insuranceVerificationArtifactBuilder_.getMessageOrBuilder(); } else { if (artifactDataCase_ == 7) { return (com.google.ads.googleads.v17.resources.InsuranceVerificationArtifact) artifactData_; } return com.google.ads.googleads.v17.resources.InsuranceVerificationArtifact.getDefaultInstance(); } } /** *
     * Output only. An insurance verification artifact.
     * 
* * .google.ads.googleads.v17.resources.InsuranceVerificationArtifact insurance_verification_artifact = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v17.resources.InsuranceVerificationArtifact, com.google.ads.googleads.v17.resources.InsuranceVerificationArtifact.Builder, com.google.ads.googleads.v17.resources.InsuranceVerificationArtifactOrBuilder> getInsuranceVerificationArtifactFieldBuilder() { if (insuranceVerificationArtifactBuilder_ == null) { if (!(artifactDataCase_ == 7)) { artifactData_ = com.google.ads.googleads.v17.resources.InsuranceVerificationArtifact.getDefaultInstance(); } insuranceVerificationArtifactBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v17.resources.InsuranceVerificationArtifact, com.google.ads.googleads.v17.resources.InsuranceVerificationArtifact.Builder, com.google.ads.googleads.v17.resources.InsuranceVerificationArtifactOrBuilder>( (com.google.ads.googleads.v17.resources.InsuranceVerificationArtifact) artifactData_, getParentForChildren(), isClean()); artifactData_ = null; } artifactDataCase_ = 7; onChanged(); return insuranceVerificationArtifactBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v17.resources.LicenseVerificationArtifact, com.google.ads.googleads.v17.resources.LicenseVerificationArtifact.Builder, com.google.ads.googleads.v17.resources.LicenseVerificationArtifactOrBuilder> licenseVerificationArtifactBuilder_; /** *
     * Output only. A license verification artifact.
     * 
* * .google.ads.googleads.v17.resources.LicenseVerificationArtifact license_verification_artifact = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the licenseVerificationArtifact field is set. */ @java.lang.Override public boolean hasLicenseVerificationArtifact() { return artifactDataCase_ == 8; } /** *
     * Output only. A license verification artifact.
     * 
* * .google.ads.googleads.v17.resources.LicenseVerificationArtifact license_verification_artifact = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The licenseVerificationArtifact. */ @java.lang.Override public com.google.ads.googleads.v17.resources.LicenseVerificationArtifact getLicenseVerificationArtifact() { if (licenseVerificationArtifactBuilder_ == null) { if (artifactDataCase_ == 8) { return (com.google.ads.googleads.v17.resources.LicenseVerificationArtifact) artifactData_; } return com.google.ads.googleads.v17.resources.LicenseVerificationArtifact.getDefaultInstance(); } else { if (artifactDataCase_ == 8) { return licenseVerificationArtifactBuilder_.getMessage(); } return com.google.ads.googleads.v17.resources.LicenseVerificationArtifact.getDefaultInstance(); } } /** *
     * Output only. A license verification artifact.
     * 
* * .google.ads.googleads.v17.resources.LicenseVerificationArtifact license_verification_artifact = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setLicenseVerificationArtifact(com.google.ads.googleads.v17.resources.LicenseVerificationArtifact value) { if (licenseVerificationArtifactBuilder_ == null) { if (value == null) { throw new NullPointerException(); } artifactData_ = value; onChanged(); } else { licenseVerificationArtifactBuilder_.setMessage(value); } artifactDataCase_ = 8; return this; } /** *
     * Output only. A license verification artifact.
     * 
* * .google.ads.googleads.v17.resources.LicenseVerificationArtifact license_verification_artifact = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setLicenseVerificationArtifact( com.google.ads.googleads.v17.resources.LicenseVerificationArtifact.Builder builderForValue) { if (licenseVerificationArtifactBuilder_ == null) { artifactData_ = builderForValue.build(); onChanged(); } else { licenseVerificationArtifactBuilder_.setMessage(builderForValue.build()); } artifactDataCase_ = 8; return this; } /** *
     * Output only. A license verification artifact.
     * 
* * .google.ads.googleads.v17.resources.LicenseVerificationArtifact license_verification_artifact = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeLicenseVerificationArtifact(com.google.ads.googleads.v17.resources.LicenseVerificationArtifact value) { if (licenseVerificationArtifactBuilder_ == null) { if (artifactDataCase_ == 8 && artifactData_ != com.google.ads.googleads.v17.resources.LicenseVerificationArtifact.getDefaultInstance()) { artifactData_ = com.google.ads.googleads.v17.resources.LicenseVerificationArtifact.newBuilder((com.google.ads.googleads.v17.resources.LicenseVerificationArtifact) artifactData_) .mergeFrom(value).buildPartial(); } else { artifactData_ = value; } onChanged(); } else { if (artifactDataCase_ == 8) { licenseVerificationArtifactBuilder_.mergeFrom(value); } else { licenseVerificationArtifactBuilder_.setMessage(value); } } artifactDataCase_ = 8; return this; } /** *
     * Output only. A license verification artifact.
     * 
* * .google.ads.googleads.v17.resources.LicenseVerificationArtifact license_verification_artifact = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearLicenseVerificationArtifact() { if (licenseVerificationArtifactBuilder_ == null) { if (artifactDataCase_ == 8) { artifactDataCase_ = 0; artifactData_ = null; onChanged(); } } else { if (artifactDataCase_ == 8) { artifactDataCase_ = 0; artifactData_ = null; } licenseVerificationArtifactBuilder_.clear(); } return this; } /** *
     * Output only. A license verification artifact.
     * 
* * .google.ads.googleads.v17.resources.LicenseVerificationArtifact license_verification_artifact = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.ads.googleads.v17.resources.LicenseVerificationArtifact.Builder getLicenseVerificationArtifactBuilder() { return getLicenseVerificationArtifactFieldBuilder().getBuilder(); } /** *
     * Output only. A license verification artifact.
     * 
* * .google.ads.googleads.v17.resources.LicenseVerificationArtifact license_verification_artifact = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.ads.googleads.v17.resources.LicenseVerificationArtifactOrBuilder getLicenseVerificationArtifactOrBuilder() { if ((artifactDataCase_ == 8) && (licenseVerificationArtifactBuilder_ != null)) { return licenseVerificationArtifactBuilder_.getMessageOrBuilder(); } else { if (artifactDataCase_ == 8) { return (com.google.ads.googleads.v17.resources.LicenseVerificationArtifact) artifactData_; } return com.google.ads.googleads.v17.resources.LicenseVerificationArtifact.getDefaultInstance(); } } /** *
     * Output only. A license verification artifact.
     * 
* * .google.ads.googleads.v17.resources.LicenseVerificationArtifact license_verification_artifact = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v17.resources.LicenseVerificationArtifact, com.google.ads.googleads.v17.resources.LicenseVerificationArtifact.Builder, com.google.ads.googleads.v17.resources.LicenseVerificationArtifactOrBuilder> getLicenseVerificationArtifactFieldBuilder() { if (licenseVerificationArtifactBuilder_ == null) { if (!(artifactDataCase_ == 8)) { artifactData_ = com.google.ads.googleads.v17.resources.LicenseVerificationArtifact.getDefaultInstance(); } licenseVerificationArtifactBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v17.resources.LicenseVerificationArtifact, com.google.ads.googleads.v17.resources.LicenseVerificationArtifact.Builder, com.google.ads.googleads.v17.resources.LicenseVerificationArtifactOrBuilder>( (com.google.ads.googleads.v17.resources.LicenseVerificationArtifact) artifactData_, getParentForChildren(), isClean()); artifactData_ = null; } artifactDataCase_ = 8; onChanged(); return licenseVerificationArtifactBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v17.resources.BusinessRegistrationCheckVerificationArtifact, com.google.ads.googleads.v17.resources.BusinessRegistrationCheckVerificationArtifact.Builder, com.google.ads.googleads.v17.resources.BusinessRegistrationCheckVerificationArtifactOrBuilder> businessRegistrationCheckVerificationArtifactBuilder_; /** *
     * Output only. A business registration check verification artifact.
     * 
* * .google.ads.googleads.v17.resources.BusinessRegistrationCheckVerificationArtifact business_registration_check_verification_artifact = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the businessRegistrationCheckVerificationArtifact field is set. */ @java.lang.Override public boolean hasBusinessRegistrationCheckVerificationArtifact() { return artifactDataCase_ == 9; } /** *
     * Output only. A business registration check verification artifact.
     * 
* * .google.ads.googleads.v17.resources.BusinessRegistrationCheckVerificationArtifact business_registration_check_verification_artifact = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The businessRegistrationCheckVerificationArtifact. */ @java.lang.Override public com.google.ads.googleads.v17.resources.BusinessRegistrationCheckVerificationArtifact getBusinessRegistrationCheckVerificationArtifact() { if (businessRegistrationCheckVerificationArtifactBuilder_ == null) { if (artifactDataCase_ == 9) { return (com.google.ads.googleads.v17.resources.BusinessRegistrationCheckVerificationArtifact) artifactData_; } return com.google.ads.googleads.v17.resources.BusinessRegistrationCheckVerificationArtifact.getDefaultInstance(); } else { if (artifactDataCase_ == 9) { return businessRegistrationCheckVerificationArtifactBuilder_.getMessage(); } return com.google.ads.googleads.v17.resources.BusinessRegistrationCheckVerificationArtifact.getDefaultInstance(); } } /** *
     * Output only. A business registration check verification artifact.
     * 
* * .google.ads.googleads.v17.resources.BusinessRegistrationCheckVerificationArtifact business_registration_check_verification_artifact = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setBusinessRegistrationCheckVerificationArtifact(com.google.ads.googleads.v17.resources.BusinessRegistrationCheckVerificationArtifact value) { if (businessRegistrationCheckVerificationArtifactBuilder_ == null) { if (value == null) { throw new NullPointerException(); } artifactData_ = value; onChanged(); } else { businessRegistrationCheckVerificationArtifactBuilder_.setMessage(value); } artifactDataCase_ = 9; return this; } /** *
     * Output only. A business registration check verification artifact.
     * 
* * .google.ads.googleads.v17.resources.BusinessRegistrationCheckVerificationArtifact business_registration_check_verification_artifact = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setBusinessRegistrationCheckVerificationArtifact( com.google.ads.googleads.v17.resources.BusinessRegistrationCheckVerificationArtifact.Builder builderForValue) { if (businessRegistrationCheckVerificationArtifactBuilder_ == null) { artifactData_ = builderForValue.build(); onChanged(); } else { businessRegistrationCheckVerificationArtifactBuilder_.setMessage(builderForValue.build()); } artifactDataCase_ = 9; return this; } /** *
     * Output only. A business registration check verification artifact.
     * 
* * .google.ads.googleads.v17.resources.BusinessRegistrationCheckVerificationArtifact business_registration_check_verification_artifact = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeBusinessRegistrationCheckVerificationArtifact(com.google.ads.googleads.v17.resources.BusinessRegistrationCheckVerificationArtifact value) { if (businessRegistrationCheckVerificationArtifactBuilder_ == null) { if (artifactDataCase_ == 9 && artifactData_ != com.google.ads.googleads.v17.resources.BusinessRegistrationCheckVerificationArtifact.getDefaultInstance()) { artifactData_ = com.google.ads.googleads.v17.resources.BusinessRegistrationCheckVerificationArtifact.newBuilder((com.google.ads.googleads.v17.resources.BusinessRegistrationCheckVerificationArtifact) artifactData_) .mergeFrom(value).buildPartial(); } else { artifactData_ = value; } onChanged(); } else { if (artifactDataCase_ == 9) { businessRegistrationCheckVerificationArtifactBuilder_.mergeFrom(value); } else { businessRegistrationCheckVerificationArtifactBuilder_.setMessage(value); } } artifactDataCase_ = 9; return this; } /** *
     * Output only. A business registration check verification artifact.
     * 
* * .google.ads.googleads.v17.resources.BusinessRegistrationCheckVerificationArtifact business_registration_check_verification_artifact = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearBusinessRegistrationCheckVerificationArtifact() { if (businessRegistrationCheckVerificationArtifactBuilder_ == null) { if (artifactDataCase_ == 9) { artifactDataCase_ = 0; artifactData_ = null; onChanged(); } } else { if (artifactDataCase_ == 9) { artifactDataCase_ = 0; artifactData_ = null; } businessRegistrationCheckVerificationArtifactBuilder_.clear(); } return this; } /** *
     * Output only. A business registration check verification artifact.
     * 
* * .google.ads.googleads.v17.resources.BusinessRegistrationCheckVerificationArtifact business_registration_check_verification_artifact = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.ads.googleads.v17.resources.BusinessRegistrationCheckVerificationArtifact.Builder getBusinessRegistrationCheckVerificationArtifactBuilder() { return getBusinessRegistrationCheckVerificationArtifactFieldBuilder().getBuilder(); } /** *
     * Output only. A business registration check verification artifact.
     * 
* * .google.ads.googleads.v17.resources.BusinessRegistrationCheckVerificationArtifact business_registration_check_verification_artifact = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.ads.googleads.v17.resources.BusinessRegistrationCheckVerificationArtifactOrBuilder getBusinessRegistrationCheckVerificationArtifactOrBuilder() { if ((artifactDataCase_ == 9) && (businessRegistrationCheckVerificationArtifactBuilder_ != null)) { return businessRegistrationCheckVerificationArtifactBuilder_.getMessageOrBuilder(); } else { if (artifactDataCase_ == 9) { return (com.google.ads.googleads.v17.resources.BusinessRegistrationCheckVerificationArtifact) artifactData_; } return com.google.ads.googleads.v17.resources.BusinessRegistrationCheckVerificationArtifact.getDefaultInstance(); } } /** *
     * Output only. A business registration check verification artifact.
     * 
* * .google.ads.googleads.v17.resources.BusinessRegistrationCheckVerificationArtifact business_registration_check_verification_artifact = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v17.resources.BusinessRegistrationCheckVerificationArtifact, com.google.ads.googleads.v17.resources.BusinessRegistrationCheckVerificationArtifact.Builder, com.google.ads.googleads.v17.resources.BusinessRegistrationCheckVerificationArtifactOrBuilder> getBusinessRegistrationCheckVerificationArtifactFieldBuilder() { if (businessRegistrationCheckVerificationArtifactBuilder_ == null) { if (!(artifactDataCase_ == 9)) { artifactData_ = com.google.ads.googleads.v17.resources.BusinessRegistrationCheckVerificationArtifact.getDefaultInstance(); } businessRegistrationCheckVerificationArtifactBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v17.resources.BusinessRegistrationCheckVerificationArtifact, com.google.ads.googleads.v17.resources.BusinessRegistrationCheckVerificationArtifact.Builder, com.google.ads.googleads.v17.resources.BusinessRegistrationCheckVerificationArtifactOrBuilder>( (com.google.ads.googleads.v17.resources.BusinessRegistrationCheckVerificationArtifact) artifactData_, getParentForChildren(), isClean()); artifactData_ = null; } artifactDataCase_ = 9; onChanged(); return businessRegistrationCheckVerificationArtifactBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:google.ads.googleads.v17.resources.LocalServicesVerificationArtifact) } // @@protoc_insertion_point(class_scope:google.ads.googleads.v17.resources.LocalServicesVerificationArtifact) private static final com.google.ads.googleads.v17.resources.LocalServicesVerificationArtifact DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.ads.googleads.v17.resources.LocalServicesVerificationArtifact(); } public static com.google.ads.googleads.v17.resources.LocalServicesVerificationArtifact getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public LocalServicesVerificationArtifact parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.ads.googleads.v17.resources.LocalServicesVerificationArtifact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy