Class BusinessRegistrationCheckVerificationArtifact.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BusinessRegistrationCheckVerificationArtifact.Builder>
com.google.ads.googleads.v22.resources.BusinessRegistrationCheckVerificationArtifact.Builder
- All Implemented Interfaces:
BusinessRegistrationCheckVerificationArtifactOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BusinessRegistrationCheckVerificationArtifact
public static final class BusinessRegistrationCheckVerificationArtifact.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BusinessRegistrationCheckVerificationArtifact.Builder>
implements BusinessRegistrationCheckVerificationArtifactOrBuilder
A proto holding information specific to a local services business registration check.Protobuf type
google.ads.googleads.v22.resources.BusinessRegistrationCheckVerificationArtifact-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Output only.Output only.Output only.Output only.com.google.protobuf.ByteStringOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.Output only.Output only.Output only.Output only.Output only.Output only.intOutput only.Output only.intOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Output only.Output only.setCheckId(String value) Output only.setCheckIdBytes(com.google.protobuf.ByteString value) Output only.Output only.setRegistrationDocument(BusinessRegistrationDocument.Builder builderForValue) Output only.Output only.setRegistrationNumber(BusinessRegistrationNumber.Builder builderForValue) Output only.setRegistrationType(LocalServicesBusinessRegistrationTypeEnum.LocalServicesBusinessRegistrationType value) Output only.setRegistrationTypeValue(int value) Output only.setRejectionReason(LocalServicesBusinessRegistrationCheckRejectionReasonEnum.LocalServicesBusinessRegistrationCheckRejectionReason value) Output only.setRejectionReasonValue(int value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<BusinessRegistrationCheckVerificationArtifact.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<BusinessRegistrationCheckVerificationArtifact.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<BusinessRegistrationCheckVerificationArtifact.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public BusinessRegistrationCheckVerificationArtifact.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BusinessRegistrationCheckVerificationArtifact.Builder>
-
mergeFrom
public BusinessRegistrationCheckVerificationArtifact.Builder mergeFrom(BusinessRegistrationCheckVerificationArtifact other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BusinessRegistrationCheckVerificationArtifact.Builder>
-
mergeFrom
public BusinessRegistrationCheckVerificationArtifact.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BusinessRegistrationCheckVerificationArtifact.Builder>- Throws:
IOException
-
getBusinessRegistrationCase
public BusinessRegistrationCheckVerificationArtifact.BusinessRegistrationCase getBusinessRegistrationCase()- Specified by:
getBusinessRegistrationCasein interfaceBusinessRegistrationCheckVerificationArtifactOrBuilder
-
clearBusinessRegistration
-
hasRegistrationType
public boolean hasRegistrationType()Output only. The type of business registration check (number, document).
optional .google.ads.googleads.v22.enums.LocalServicesBusinessRegistrationTypeEnum.LocalServicesBusinessRegistrationType registration_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasRegistrationTypein interfaceBusinessRegistrationCheckVerificationArtifactOrBuilder- Returns:
- Whether the registrationType field is set.
-
getRegistrationTypeValue
public int getRegistrationTypeValue()Output only. The type of business registration check (number, document).
optional .google.ads.googleads.v22.enums.LocalServicesBusinessRegistrationTypeEnum.LocalServicesBusinessRegistrationType registration_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRegistrationTypeValuein interfaceBusinessRegistrationCheckVerificationArtifactOrBuilder- Returns:
- The enum numeric value on the wire for registrationType.
-
setRegistrationTypeValue
Output only. The type of business registration check (number, document).
optional .google.ads.googleads.v22.enums.LocalServicesBusinessRegistrationTypeEnum.LocalServicesBusinessRegistrationType registration_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for registrationType to set.- Returns:
- This builder for chaining.
-
getRegistrationType
public LocalServicesBusinessRegistrationTypeEnum.LocalServicesBusinessRegistrationType getRegistrationType()Output only. The type of business registration check (number, document).
optional .google.ads.googleads.v22.enums.LocalServicesBusinessRegistrationTypeEnum.LocalServicesBusinessRegistrationType registration_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRegistrationTypein interfaceBusinessRegistrationCheckVerificationArtifactOrBuilder- Returns:
- The registrationType.
-
setRegistrationType
public BusinessRegistrationCheckVerificationArtifact.Builder setRegistrationType(LocalServicesBusinessRegistrationTypeEnum.LocalServicesBusinessRegistrationType value) Output only. The type of business registration check (number, document).
optional .google.ads.googleads.v22.enums.LocalServicesBusinessRegistrationTypeEnum.LocalServicesBusinessRegistrationType registration_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The registrationType to set.- Returns:
- This builder for chaining.
-
clearRegistrationType
Output only. The type of business registration check (number, document).
optional .google.ads.googleads.v22.enums.LocalServicesBusinessRegistrationTypeEnum.LocalServicesBusinessRegistrationType registration_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasCheckId
public boolean hasCheckId()Output only. The id of the check, such as vat_tax_id, representing "VAT Tax ID" requirement.
optional string check_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCheckIdin interfaceBusinessRegistrationCheckVerificationArtifactOrBuilder- Returns:
- Whether the checkId field is set.
-
getCheckId
Output only. The id of the check, such as vat_tax_id, representing "VAT Tax ID" requirement.
optional string check_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCheckIdin interfaceBusinessRegistrationCheckVerificationArtifactOrBuilder- Returns:
- The checkId.
-
getCheckIdBytes
public com.google.protobuf.ByteString getCheckIdBytes()Output only. The id of the check, such as vat_tax_id, representing "VAT Tax ID" requirement.
optional string check_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCheckIdBytesin interfaceBusinessRegistrationCheckVerificationArtifactOrBuilder- Returns:
- The bytes for checkId.
-
setCheckId
Output only. The id of the check, such as vat_tax_id, representing "VAT Tax ID" requirement.
optional string check_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The checkId to set.- Returns:
- This builder for chaining.
-
clearCheckId
Output only. The id of the check, such as vat_tax_id, representing "VAT Tax ID" requirement.
optional string check_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setCheckIdBytes
public BusinessRegistrationCheckVerificationArtifact.Builder setCheckIdBytes(com.google.protobuf.ByteString value) Output only. The id of the check, such as vat_tax_id, representing "VAT Tax ID" requirement.
optional string check_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for checkId to set.- Returns:
- This builder for chaining.
-
hasRejectionReason
public boolean hasRejectionReason()Output only. Registration document rejection reason.
optional .google.ads.googleads.v22.enums.LocalServicesBusinessRegistrationCheckRejectionReasonEnum.LocalServicesBusinessRegistrationCheckRejectionReason rejection_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasRejectionReasonin interfaceBusinessRegistrationCheckVerificationArtifactOrBuilder- Returns:
- Whether the rejectionReason field is set.
-
getRejectionReasonValue
public int getRejectionReasonValue()Output only. Registration document rejection reason.
optional .google.ads.googleads.v22.enums.LocalServicesBusinessRegistrationCheckRejectionReasonEnum.LocalServicesBusinessRegistrationCheckRejectionReason rejection_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRejectionReasonValuein interfaceBusinessRegistrationCheckVerificationArtifactOrBuilder- Returns:
- The enum numeric value on the wire for rejectionReason.
-
setRejectionReasonValue
Output only. Registration document rejection reason.
optional .google.ads.googleads.v22.enums.LocalServicesBusinessRegistrationCheckRejectionReasonEnum.LocalServicesBusinessRegistrationCheckRejectionReason rejection_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for rejectionReason to set.- Returns:
- This builder for chaining.
-
getRejectionReason
public LocalServicesBusinessRegistrationCheckRejectionReasonEnum.LocalServicesBusinessRegistrationCheckRejectionReason getRejectionReason()Output only. Registration document rejection reason.
optional .google.ads.googleads.v22.enums.LocalServicesBusinessRegistrationCheckRejectionReasonEnum.LocalServicesBusinessRegistrationCheckRejectionReason rejection_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRejectionReasonin interfaceBusinessRegistrationCheckVerificationArtifactOrBuilder- Returns:
- The rejectionReason.
-
setRejectionReason
public BusinessRegistrationCheckVerificationArtifact.Builder setRejectionReason(LocalServicesBusinessRegistrationCheckRejectionReasonEnum.LocalServicesBusinessRegistrationCheckRejectionReason value) Output only. Registration document rejection reason.
optional .google.ads.googleads.v22.enums.LocalServicesBusinessRegistrationCheckRejectionReasonEnum.LocalServicesBusinessRegistrationCheckRejectionReason rejection_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The rejectionReason to set.- Returns:
- This builder for chaining.
-
clearRejectionReason
Output only. Registration document rejection reason.
optional .google.ads.googleads.v22.enums.LocalServicesBusinessRegistrationCheckRejectionReasonEnum.LocalServicesBusinessRegistrationCheckRejectionReason rejection_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasRegistrationNumber
public boolean hasRegistrationNumber()Output only. Message storing government issued number for the business.
.google.ads.googleads.v22.resources.BusinessRegistrationNumber registration_number = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasRegistrationNumberin interfaceBusinessRegistrationCheckVerificationArtifactOrBuilder- Returns:
- Whether the registrationNumber field is set.
-
getRegistrationNumber
Output only. Message storing government issued number for the business.
.google.ads.googleads.v22.resources.BusinessRegistrationNumber registration_number = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRegistrationNumberin interfaceBusinessRegistrationCheckVerificationArtifactOrBuilder- Returns:
- The registrationNumber.
-
setRegistrationNumber
public BusinessRegistrationCheckVerificationArtifact.Builder setRegistrationNumber(BusinessRegistrationNumber value) Output only. Message storing government issued number for the business.
.google.ads.googleads.v22.resources.BusinessRegistrationNumber registration_number = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setRegistrationNumber
public BusinessRegistrationCheckVerificationArtifact.Builder setRegistrationNumber(BusinessRegistrationNumber.Builder builderForValue) Output only. Message storing government issued number for the business.
.google.ads.googleads.v22.resources.BusinessRegistrationNumber registration_number = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeRegistrationNumber
public BusinessRegistrationCheckVerificationArtifact.Builder mergeRegistrationNumber(BusinessRegistrationNumber value) Output only. Message storing government issued number for the business.
.google.ads.googleads.v22.resources.BusinessRegistrationNumber registration_number = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearRegistrationNumber
Output only. Message storing government issued number for the business.
.google.ads.googleads.v22.resources.BusinessRegistrationNumber registration_number = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getRegistrationNumberBuilder
Output only. Message storing government issued number for the business.
.google.ads.googleads.v22.resources.BusinessRegistrationNumber registration_number = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getRegistrationNumberOrBuilder
Output only. Message storing government issued number for the business.
.google.ads.googleads.v22.resources.BusinessRegistrationNumber registration_number = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRegistrationNumberOrBuilderin interfaceBusinessRegistrationCheckVerificationArtifactOrBuilder
-
hasRegistrationDocument
public boolean hasRegistrationDocument()Output only. Message storing document info for the business.
.google.ads.googleads.v22.resources.BusinessRegistrationDocument registration_document = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasRegistrationDocumentin interfaceBusinessRegistrationCheckVerificationArtifactOrBuilder- Returns:
- Whether the registrationDocument field is set.
-
getRegistrationDocument
Output only. Message storing document info for the business.
.google.ads.googleads.v22.resources.BusinessRegistrationDocument registration_document = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRegistrationDocumentin interfaceBusinessRegistrationCheckVerificationArtifactOrBuilder- Returns:
- The registrationDocument.
-
setRegistrationDocument
public BusinessRegistrationCheckVerificationArtifact.Builder setRegistrationDocument(BusinessRegistrationDocument value) Output only. Message storing document info for the business.
.google.ads.googleads.v22.resources.BusinessRegistrationDocument registration_document = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setRegistrationDocument
public BusinessRegistrationCheckVerificationArtifact.Builder setRegistrationDocument(BusinessRegistrationDocument.Builder builderForValue) Output only. Message storing document info for the business.
.google.ads.googleads.v22.resources.BusinessRegistrationDocument registration_document = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeRegistrationDocument
public BusinessRegistrationCheckVerificationArtifact.Builder mergeRegistrationDocument(BusinessRegistrationDocument value) Output only. Message storing document info for the business.
.google.ads.googleads.v22.resources.BusinessRegistrationDocument registration_document = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearRegistrationDocument
Output only. Message storing document info for the business.
.google.ads.googleads.v22.resources.BusinessRegistrationDocument registration_document = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getRegistrationDocumentBuilder
Output only. Message storing document info for the business.
.google.ads.googleads.v22.resources.BusinessRegistrationDocument registration_document = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getRegistrationDocumentOrBuilder
Output only. Message storing document info for the business.
.google.ads.googleads.v22.resources.BusinessRegistrationDocument registration_document = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRegistrationDocumentOrBuilderin interfaceBusinessRegistrationCheckVerificationArtifactOrBuilder
-