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

com.google.ads.googleads.v17.services.IdentityVerification Maven / Gradle / Ivy

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

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

/**
 * 
 * An identity verification for a customer.
 * 
* * Protobuf type {@code google.ads.googleads.v17.services.IdentityVerification} */ public final class IdentityVerification extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.ads.googleads.v17.services.IdentityVerification) IdentityVerificationOrBuilder { private static final long serialVersionUID = 0L; // Use IdentityVerification.newBuilder() to construct. private IdentityVerification(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private IdentityVerification() { verificationProgram_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new IdentityVerification(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v17.services.IdentityVerificationServiceProto.internal_static_google_ads_googleads_v17_services_IdentityVerification_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v17.services.IdentityVerificationServiceProto.internal_static_google_ads_googleads_v17_services_IdentityVerification_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v17.services.IdentityVerification.class, com.google.ads.googleads.v17.services.IdentityVerification.Builder.class); } private int bitField0_; public static final int VERIFICATION_PROGRAM_FIELD_NUMBER = 1; private int verificationProgram_ = 0; /** *
   * The verification program type.
   * 
* * .google.ads.googleads.v17.enums.IdentityVerificationProgramEnum.IdentityVerificationProgram verification_program = 1; * @return The enum numeric value on the wire for verificationProgram. */ @java.lang.Override public int getVerificationProgramValue() { return verificationProgram_; } /** *
   * The verification program type.
   * 
* * .google.ads.googleads.v17.enums.IdentityVerificationProgramEnum.IdentityVerificationProgram verification_program = 1; * @return The verificationProgram. */ @java.lang.Override public com.google.ads.googleads.v17.enums.IdentityVerificationProgramEnum.IdentityVerificationProgram getVerificationProgram() { com.google.ads.googleads.v17.enums.IdentityVerificationProgramEnum.IdentityVerificationProgram result = com.google.ads.googleads.v17.enums.IdentityVerificationProgramEnum.IdentityVerificationProgram.forNumber(verificationProgram_); return result == null ? com.google.ads.googleads.v17.enums.IdentityVerificationProgramEnum.IdentityVerificationProgram.UNRECOGNIZED : result; } public static final int IDENTITY_VERIFICATION_REQUIREMENT_FIELD_NUMBER = 2; private com.google.ads.googleads.v17.services.IdentityVerificationRequirement identityVerificationRequirement_; /** *
   * The verification requirement for this verification program for this
   * customer.
   * 
* * optional .google.ads.googleads.v17.services.IdentityVerificationRequirement identity_verification_requirement = 2; * @return Whether the identityVerificationRequirement field is set. */ @java.lang.Override public boolean hasIdentityVerificationRequirement() { return ((bitField0_ & 0x00000001) != 0); } /** *
   * The verification requirement for this verification program for this
   * customer.
   * 
* * optional .google.ads.googleads.v17.services.IdentityVerificationRequirement identity_verification_requirement = 2; * @return The identityVerificationRequirement. */ @java.lang.Override public com.google.ads.googleads.v17.services.IdentityVerificationRequirement getIdentityVerificationRequirement() { return identityVerificationRequirement_ == null ? com.google.ads.googleads.v17.services.IdentityVerificationRequirement.getDefaultInstance() : identityVerificationRequirement_; } /** *
   * The verification requirement for this verification program for this
   * customer.
   * 
* * optional .google.ads.googleads.v17.services.IdentityVerificationRequirement identity_verification_requirement = 2; */ @java.lang.Override public com.google.ads.googleads.v17.services.IdentityVerificationRequirementOrBuilder getIdentityVerificationRequirementOrBuilder() { return identityVerificationRequirement_ == null ? com.google.ads.googleads.v17.services.IdentityVerificationRequirement.getDefaultInstance() : identityVerificationRequirement_; } public static final int VERIFICATION_PROGRESS_FIELD_NUMBER = 3; private com.google.ads.googleads.v17.services.IdentityVerificationProgress verificationProgress_; /** *
   * Information regarding progress for this verification program for this
   * customer.
   * 
* * optional .google.ads.googleads.v17.services.IdentityVerificationProgress verification_progress = 3; * @return Whether the verificationProgress field is set. */ @java.lang.Override public boolean hasVerificationProgress() { return ((bitField0_ & 0x00000002) != 0); } /** *
   * Information regarding progress for this verification program for this
   * customer.
   * 
* * optional .google.ads.googleads.v17.services.IdentityVerificationProgress verification_progress = 3; * @return The verificationProgress. */ @java.lang.Override public com.google.ads.googleads.v17.services.IdentityVerificationProgress getVerificationProgress() { return verificationProgress_ == null ? com.google.ads.googleads.v17.services.IdentityVerificationProgress.getDefaultInstance() : verificationProgress_; } /** *
   * Information regarding progress for this verification program for this
   * customer.
   * 
* * optional .google.ads.googleads.v17.services.IdentityVerificationProgress verification_progress = 3; */ @java.lang.Override public com.google.ads.googleads.v17.services.IdentityVerificationProgressOrBuilder getVerificationProgressOrBuilder() { return verificationProgress_ == null ? com.google.ads.googleads.v17.services.IdentityVerificationProgress.getDefaultInstance() : verificationProgress_; } 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 (verificationProgram_ != com.google.ads.googleads.v17.enums.IdentityVerificationProgramEnum.IdentityVerificationProgram.UNSPECIFIED.getNumber()) { output.writeEnum(1, verificationProgram_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getIdentityVerificationRequirement()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(3, getVerificationProgress()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (verificationProgram_ != com.google.ads.googleads.v17.enums.IdentityVerificationProgramEnum.IdentityVerificationProgram.UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, verificationProgram_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getIdentityVerificationRequirement()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getVerificationProgress()); } 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.services.IdentityVerification)) { return super.equals(obj); } com.google.ads.googleads.v17.services.IdentityVerification other = (com.google.ads.googleads.v17.services.IdentityVerification) obj; if (verificationProgram_ != other.verificationProgram_) return false; if (hasIdentityVerificationRequirement() != other.hasIdentityVerificationRequirement()) return false; if (hasIdentityVerificationRequirement()) { if (!getIdentityVerificationRequirement() .equals(other.getIdentityVerificationRequirement())) return false; } if (hasVerificationProgress() != other.hasVerificationProgress()) return false; if (hasVerificationProgress()) { if (!getVerificationProgress() .equals(other.getVerificationProgress())) return false; } 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) + VERIFICATION_PROGRAM_FIELD_NUMBER; hash = (53 * hash) + verificationProgram_; if (hasIdentityVerificationRequirement()) { hash = (37 * hash) + IDENTITY_VERIFICATION_REQUIREMENT_FIELD_NUMBER; hash = (53 * hash) + getIdentityVerificationRequirement().hashCode(); } if (hasVerificationProgress()) { hash = (37 * hash) + VERIFICATION_PROGRESS_FIELD_NUMBER; hash = (53 * hash) + getVerificationProgress().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.ads.googleads.v17.services.IdentityVerification parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.services.IdentityVerification 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.services.IdentityVerification parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.services.IdentityVerification 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.services.IdentityVerification parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.services.IdentityVerification 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.services.IdentityVerification parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.ads.googleads.v17.services.IdentityVerification 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.services.IdentityVerification parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.ads.googleads.v17.services.IdentityVerification 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.services.IdentityVerification 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.services.IdentityVerification 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.services.IdentityVerification 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; } /** *
   * An identity verification for a customer.
   * 
* * Protobuf type {@code google.ads.googleads.v17.services.IdentityVerification} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.ads.googleads.v17.services.IdentityVerification) com.google.ads.googleads.v17.services.IdentityVerificationOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v17.services.IdentityVerificationServiceProto.internal_static_google_ads_googleads_v17_services_IdentityVerification_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v17.services.IdentityVerificationServiceProto.internal_static_google_ads_googleads_v17_services_IdentityVerification_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v17.services.IdentityVerification.class, com.google.ads.googleads.v17.services.IdentityVerification.Builder.class); } // Construct using com.google.ads.googleads.v17.services.IdentityVerification.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getIdentityVerificationRequirementFieldBuilder(); getVerificationProgressFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; verificationProgram_ = 0; identityVerificationRequirement_ = null; if (identityVerificationRequirementBuilder_ != null) { identityVerificationRequirementBuilder_.dispose(); identityVerificationRequirementBuilder_ = null; } verificationProgress_ = null; if (verificationProgressBuilder_ != null) { verificationProgressBuilder_.dispose(); verificationProgressBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.ads.googleads.v17.services.IdentityVerificationServiceProto.internal_static_google_ads_googleads_v17_services_IdentityVerification_descriptor; } @java.lang.Override public com.google.ads.googleads.v17.services.IdentityVerification getDefaultInstanceForType() { return com.google.ads.googleads.v17.services.IdentityVerification.getDefaultInstance(); } @java.lang.Override public com.google.ads.googleads.v17.services.IdentityVerification build() { com.google.ads.googleads.v17.services.IdentityVerification result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.ads.googleads.v17.services.IdentityVerification buildPartial() { com.google.ads.googleads.v17.services.IdentityVerification result = new com.google.ads.googleads.v17.services.IdentityVerification(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.ads.googleads.v17.services.IdentityVerification result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.verificationProgram_ = verificationProgram_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.identityVerificationRequirement_ = identityVerificationRequirementBuilder_ == null ? identityVerificationRequirement_ : identityVerificationRequirementBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.verificationProgress_ = verificationProgressBuilder_ == null ? verificationProgress_ : verificationProgressBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; } @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.services.IdentityVerification) { return mergeFrom((com.google.ads.googleads.v17.services.IdentityVerification)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.ads.googleads.v17.services.IdentityVerification other) { if (other == com.google.ads.googleads.v17.services.IdentityVerification.getDefaultInstance()) return this; if (other.verificationProgram_ != 0) { setVerificationProgramValue(other.getVerificationProgramValue()); } if (other.hasIdentityVerificationRequirement()) { mergeIdentityVerificationRequirement(other.getIdentityVerificationRequirement()); } if (other.hasVerificationProgress()) { mergeVerificationProgress(other.getVerificationProgress()); } 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 8: { verificationProgram_ = input.readEnum(); bitField0_ |= 0x00000001; break; } // case 8 case 18: { input.readMessage( getIdentityVerificationRequirementFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 case 26: { input.readMessage( getVerificationProgressFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 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 bitField0_; private int verificationProgram_ = 0; /** *
     * The verification program type.
     * 
* * .google.ads.googleads.v17.enums.IdentityVerificationProgramEnum.IdentityVerificationProgram verification_program = 1; * @return The enum numeric value on the wire for verificationProgram. */ @java.lang.Override public int getVerificationProgramValue() { return verificationProgram_; } /** *
     * The verification program type.
     * 
* * .google.ads.googleads.v17.enums.IdentityVerificationProgramEnum.IdentityVerificationProgram verification_program = 1; * @param value The enum numeric value on the wire for verificationProgram to set. * @return This builder for chaining. */ public Builder setVerificationProgramValue(int value) { verificationProgram_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * The verification program type.
     * 
* * .google.ads.googleads.v17.enums.IdentityVerificationProgramEnum.IdentityVerificationProgram verification_program = 1; * @return The verificationProgram. */ @java.lang.Override public com.google.ads.googleads.v17.enums.IdentityVerificationProgramEnum.IdentityVerificationProgram getVerificationProgram() { com.google.ads.googleads.v17.enums.IdentityVerificationProgramEnum.IdentityVerificationProgram result = com.google.ads.googleads.v17.enums.IdentityVerificationProgramEnum.IdentityVerificationProgram.forNumber(verificationProgram_); return result == null ? com.google.ads.googleads.v17.enums.IdentityVerificationProgramEnum.IdentityVerificationProgram.UNRECOGNIZED : result; } /** *
     * The verification program type.
     * 
* * .google.ads.googleads.v17.enums.IdentityVerificationProgramEnum.IdentityVerificationProgram verification_program = 1; * @param value The verificationProgram to set. * @return This builder for chaining. */ public Builder setVerificationProgram(com.google.ads.googleads.v17.enums.IdentityVerificationProgramEnum.IdentityVerificationProgram value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; verificationProgram_ = value.getNumber(); onChanged(); return this; } /** *
     * The verification program type.
     * 
* * .google.ads.googleads.v17.enums.IdentityVerificationProgramEnum.IdentityVerificationProgram verification_program = 1; * @return This builder for chaining. */ public Builder clearVerificationProgram() { bitField0_ = (bitField0_ & ~0x00000001); verificationProgram_ = 0; onChanged(); return this; } private com.google.ads.googleads.v17.services.IdentityVerificationRequirement identityVerificationRequirement_; private com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v17.services.IdentityVerificationRequirement, com.google.ads.googleads.v17.services.IdentityVerificationRequirement.Builder, com.google.ads.googleads.v17.services.IdentityVerificationRequirementOrBuilder> identityVerificationRequirementBuilder_; /** *
     * The verification requirement for this verification program for this
     * customer.
     * 
* * optional .google.ads.googleads.v17.services.IdentityVerificationRequirement identity_verification_requirement = 2; * @return Whether the identityVerificationRequirement field is set. */ public boolean hasIdentityVerificationRequirement() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * The verification requirement for this verification program for this
     * customer.
     * 
* * optional .google.ads.googleads.v17.services.IdentityVerificationRequirement identity_verification_requirement = 2; * @return The identityVerificationRequirement. */ public com.google.ads.googleads.v17.services.IdentityVerificationRequirement getIdentityVerificationRequirement() { if (identityVerificationRequirementBuilder_ == null) { return identityVerificationRequirement_ == null ? com.google.ads.googleads.v17.services.IdentityVerificationRequirement.getDefaultInstance() : identityVerificationRequirement_; } else { return identityVerificationRequirementBuilder_.getMessage(); } } /** *
     * The verification requirement for this verification program for this
     * customer.
     * 
* * optional .google.ads.googleads.v17.services.IdentityVerificationRequirement identity_verification_requirement = 2; */ public Builder setIdentityVerificationRequirement(com.google.ads.googleads.v17.services.IdentityVerificationRequirement value) { if (identityVerificationRequirementBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identityVerificationRequirement_ = value; } else { identityVerificationRequirementBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * The verification requirement for this verification program for this
     * customer.
     * 
* * optional .google.ads.googleads.v17.services.IdentityVerificationRequirement identity_verification_requirement = 2; */ public Builder setIdentityVerificationRequirement( com.google.ads.googleads.v17.services.IdentityVerificationRequirement.Builder builderForValue) { if (identityVerificationRequirementBuilder_ == null) { identityVerificationRequirement_ = builderForValue.build(); } else { identityVerificationRequirementBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * The verification requirement for this verification program for this
     * customer.
     * 
* * optional .google.ads.googleads.v17.services.IdentityVerificationRequirement identity_verification_requirement = 2; */ public Builder mergeIdentityVerificationRequirement(com.google.ads.googleads.v17.services.IdentityVerificationRequirement value) { if (identityVerificationRequirementBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && identityVerificationRequirement_ != null && identityVerificationRequirement_ != com.google.ads.googleads.v17.services.IdentityVerificationRequirement.getDefaultInstance()) { getIdentityVerificationRequirementBuilder().mergeFrom(value); } else { identityVerificationRequirement_ = value; } } else { identityVerificationRequirementBuilder_.mergeFrom(value); } if (identityVerificationRequirement_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** *
     * The verification requirement for this verification program for this
     * customer.
     * 
* * optional .google.ads.googleads.v17.services.IdentityVerificationRequirement identity_verification_requirement = 2; */ public Builder clearIdentityVerificationRequirement() { bitField0_ = (bitField0_ & ~0x00000002); identityVerificationRequirement_ = null; if (identityVerificationRequirementBuilder_ != null) { identityVerificationRequirementBuilder_.dispose(); identityVerificationRequirementBuilder_ = null; } onChanged(); return this; } /** *
     * The verification requirement for this verification program for this
     * customer.
     * 
* * optional .google.ads.googleads.v17.services.IdentityVerificationRequirement identity_verification_requirement = 2; */ public com.google.ads.googleads.v17.services.IdentityVerificationRequirement.Builder getIdentityVerificationRequirementBuilder() { bitField0_ |= 0x00000002; onChanged(); return getIdentityVerificationRequirementFieldBuilder().getBuilder(); } /** *
     * The verification requirement for this verification program for this
     * customer.
     * 
* * optional .google.ads.googleads.v17.services.IdentityVerificationRequirement identity_verification_requirement = 2; */ public com.google.ads.googleads.v17.services.IdentityVerificationRequirementOrBuilder getIdentityVerificationRequirementOrBuilder() { if (identityVerificationRequirementBuilder_ != null) { return identityVerificationRequirementBuilder_.getMessageOrBuilder(); } else { return identityVerificationRequirement_ == null ? com.google.ads.googleads.v17.services.IdentityVerificationRequirement.getDefaultInstance() : identityVerificationRequirement_; } } /** *
     * The verification requirement for this verification program for this
     * customer.
     * 
* * optional .google.ads.googleads.v17.services.IdentityVerificationRequirement identity_verification_requirement = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v17.services.IdentityVerificationRequirement, com.google.ads.googleads.v17.services.IdentityVerificationRequirement.Builder, com.google.ads.googleads.v17.services.IdentityVerificationRequirementOrBuilder> getIdentityVerificationRequirementFieldBuilder() { if (identityVerificationRequirementBuilder_ == null) { identityVerificationRequirementBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v17.services.IdentityVerificationRequirement, com.google.ads.googleads.v17.services.IdentityVerificationRequirement.Builder, com.google.ads.googleads.v17.services.IdentityVerificationRequirementOrBuilder>( getIdentityVerificationRequirement(), getParentForChildren(), isClean()); identityVerificationRequirement_ = null; } return identityVerificationRequirementBuilder_; } private com.google.ads.googleads.v17.services.IdentityVerificationProgress verificationProgress_; private com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v17.services.IdentityVerificationProgress, com.google.ads.googleads.v17.services.IdentityVerificationProgress.Builder, com.google.ads.googleads.v17.services.IdentityVerificationProgressOrBuilder> verificationProgressBuilder_; /** *
     * Information regarding progress for this verification program for this
     * customer.
     * 
* * optional .google.ads.googleads.v17.services.IdentityVerificationProgress verification_progress = 3; * @return Whether the verificationProgress field is set. */ public boolean hasVerificationProgress() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Information regarding progress for this verification program for this
     * customer.
     * 
* * optional .google.ads.googleads.v17.services.IdentityVerificationProgress verification_progress = 3; * @return The verificationProgress. */ public com.google.ads.googleads.v17.services.IdentityVerificationProgress getVerificationProgress() { if (verificationProgressBuilder_ == null) { return verificationProgress_ == null ? com.google.ads.googleads.v17.services.IdentityVerificationProgress.getDefaultInstance() : verificationProgress_; } else { return verificationProgressBuilder_.getMessage(); } } /** *
     * Information regarding progress for this verification program for this
     * customer.
     * 
* * optional .google.ads.googleads.v17.services.IdentityVerificationProgress verification_progress = 3; */ public Builder setVerificationProgress(com.google.ads.googleads.v17.services.IdentityVerificationProgress value) { if (verificationProgressBuilder_ == null) { if (value == null) { throw new NullPointerException(); } verificationProgress_ = value; } else { verificationProgressBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     * Information regarding progress for this verification program for this
     * customer.
     * 
* * optional .google.ads.googleads.v17.services.IdentityVerificationProgress verification_progress = 3; */ public Builder setVerificationProgress( com.google.ads.googleads.v17.services.IdentityVerificationProgress.Builder builderForValue) { if (verificationProgressBuilder_ == null) { verificationProgress_ = builderForValue.build(); } else { verificationProgressBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     * Information regarding progress for this verification program for this
     * customer.
     * 
* * optional .google.ads.googleads.v17.services.IdentityVerificationProgress verification_progress = 3; */ public Builder mergeVerificationProgress(com.google.ads.googleads.v17.services.IdentityVerificationProgress value) { if (verificationProgressBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && verificationProgress_ != null && verificationProgress_ != com.google.ads.googleads.v17.services.IdentityVerificationProgress.getDefaultInstance()) { getVerificationProgressBuilder().mergeFrom(value); } else { verificationProgress_ = value; } } else { verificationProgressBuilder_.mergeFrom(value); } if (verificationProgress_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** *
     * Information regarding progress for this verification program for this
     * customer.
     * 
* * optional .google.ads.googleads.v17.services.IdentityVerificationProgress verification_progress = 3; */ public Builder clearVerificationProgress() { bitField0_ = (bitField0_ & ~0x00000004); verificationProgress_ = null; if (verificationProgressBuilder_ != null) { verificationProgressBuilder_.dispose(); verificationProgressBuilder_ = null; } onChanged(); return this; } /** *
     * Information regarding progress for this verification program for this
     * customer.
     * 
* * optional .google.ads.googleads.v17.services.IdentityVerificationProgress verification_progress = 3; */ public com.google.ads.googleads.v17.services.IdentityVerificationProgress.Builder getVerificationProgressBuilder() { bitField0_ |= 0x00000004; onChanged(); return getVerificationProgressFieldBuilder().getBuilder(); } /** *
     * Information regarding progress for this verification program for this
     * customer.
     * 
* * optional .google.ads.googleads.v17.services.IdentityVerificationProgress verification_progress = 3; */ public com.google.ads.googleads.v17.services.IdentityVerificationProgressOrBuilder getVerificationProgressOrBuilder() { if (verificationProgressBuilder_ != null) { return verificationProgressBuilder_.getMessageOrBuilder(); } else { return verificationProgress_ == null ? com.google.ads.googleads.v17.services.IdentityVerificationProgress.getDefaultInstance() : verificationProgress_; } } /** *
     * Information regarding progress for this verification program for this
     * customer.
     * 
* * optional .google.ads.googleads.v17.services.IdentityVerificationProgress verification_progress = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v17.services.IdentityVerificationProgress, com.google.ads.googleads.v17.services.IdentityVerificationProgress.Builder, com.google.ads.googleads.v17.services.IdentityVerificationProgressOrBuilder> getVerificationProgressFieldBuilder() { if (verificationProgressBuilder_ == null) { verificationProgressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v17.services.IdentityVerificationProgress, com.google.ads.googleads.v17.services.IdentityVerificationProgress.Builder, com.google.ads.googleads.v17.services.IdentityVerificationProgressOrBuilder>( getVerificationProgress(), getParentForChildren(), isClean()); verificationProgress_ = null; } return verificationProgressBuilder_; } @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.services.IdentityVerification) } // @@protoc_insertion_point(class_scope:google.ads.googleads.v17.services.IdentityVerification) private static final com.google.ads.googleads.v17.services.IdentityVerification DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.ads.googleads.v17.services.IdentityVerification(); } public static com.google.ads.googleads.v17.services.IdentityVerification getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public IdentityVerification 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.services.IdentityVerification getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy