Class LicenseVerificationArtifact.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<LicenseVerificationArtifact.Builder>
-
- com.google.ads.googleads.v15.resources.LicenseVerificationArtifact.Builder
-
- All Implemented Interfaces:
LicenseVerificationArtifactOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- LicenseVerificationArtifact
public static final class LicenseVerificationArtifact.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LicenseVerificationArtifact.Builder> implements LicenseVerificationArtifactOrBuilder
A proto holding information specific to a local services license.
Protobuf typegoogle.ads.googleads.v15.resources.LicenseVerificationArtifact
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<LicenseVerificationArtifact.Builder>
-
clear
public LicenseVerificationArtifact.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<LicenseVerificationArtifact.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.GeneratedMessageV3.Builder<LicenseVerificationArtifact.Builder>
-
getDefaultInstanceForType
public LicenseVerificationArtifact getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public LicenseVerificationArtifact build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public LicenseVerificationArtifact buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public LicenseVerificationArtifact.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<LicenseVerificationArtifact.Builder>
-
setField
public LicenseVerificationArtifact.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LicenseVerificationArtifact.Builder>
-
clearField
public LicenseVerificationArtifact.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LicenseVerificationArtifact.Builder>
-
clearOneof
public LicenseVerificationArtifact.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<LicenseVerificationArtifact.Builder>
-
setRepeatedField
public LicenseVerificationArtifact.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LicenseVerificationArtifact.Builder>
-
addRepeatedField
public LicenseVerificationArtifact.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LicenseVerificationArtifact.Builder>
-
mergeFrom
public LicenseVerificationArtifact.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LicenseVerificationArtifact.Builder>
-
mergeFrom
public LicenseVerificationArtifact.Builder mergeFrom(LicenseVerificationArtifact other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<LicenseVerificationArtifact.Builder>
-
mergeFrom
public LicenseVerificationArtifact.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LicenseVerificationArtifact.Builder>- Throws:
java.io.IOException
-
hasLicenseType
public boolean hasLicenseType()
Output only. License type / name.
optional string license_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasLicenseTypein interfaceLicenseVerificationArtifactOrBuilder- Returns:
- Whether the licenseType field is set.
-
getLicenseType
public java.lang.String getLicenseType()
Output only. License type / name.
optional string license_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLicenseTypein interfaceLicenseVerificationArtifactOrBuilder- Returns:
- The licenseType.
-
getLicenseTypeBytes
public com.google.protobuf.ByteString getLicenseTypeBytes()
Output only. License type / name.
optional string license_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLicenseTypeBytesin interfaceLicenseVerificationArtifactOrBuilder- Returns:
- The bytes for licenseType.
-
setLicenseType
public LicenseVerificationArtifact.Builder setLicenseType(java.lang.String value)
Output only. License type / name.
optional string license_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The licenseType to set.- Returns:
- This builder for chaining.
-
clearLicenseType
public LicenseVerificationArtifact.Builder clearLicenseType()
Output only. License type / name.
optional string license_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setLicenseTypeBytes
public LicenseVerificationArtifact.Builder setLicenseTypeBytes(com.google.protobuf.ByteString value)
Output only. License type / name.
optional string license_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for licenseType to set.- Returns:
- This builder for chaining.
-
hasLicenseNumber
public boolean hasLicenseNumber()
Output only. License number.
optional string license_number = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasLicenseNumberin interfaceLicenseVerificationArtifactOrBuilder- Returns:
- Whether the licenseNumber field is set.
-
getLicenseNumber
public java.lang.String getLicenseNumber()
Output only. License number.
optional string license_number = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLicenseNumberin interfaceLicenseVerificationArtifactOrBuilder- Returns:
- The licenseNumber.
-
getLicenseNumberBytes
public com.google.protobuf.ByteString getLicenseNumberBytes()
Output only. License number.
optional string license_number = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLicenseNumberBytesin interfaceLicenseVerificationArtifactOrBuilder- Returns:
- The bytes for licenseNumber.
-
setLicenseNumber
public LicenseVerificationArtifact.Builder setLicenseNumber(java.lang.String value)
Output only. License number.
optional string license_number = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The licenseNumber to set.- Returns:
- This builder for chaining.
-
clearLicenseNumber
public LicenseVerificationArtifact.Builder clearLicenseNumber()
Output only. License number.
optional string license_number = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setLicenseNumberBytes
public LicenseVerificationArtifact.Builder setLicenseNumberBytes(com.google.protobuf.ByteString value)
Output only. License number.
optional string license_number = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for licenseNumber to set.- Returns:
- This builder for chaining.
-
hasLicenseeFirstName
public boolean hasLicenseeFirstName()
Output only. First name of the licensee.
optional string licensee_first_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasLicenseeFirstNamein interfaceLicenseVerificationArtifactOrBuilder- Returns:
- Whether the licenseeFirstName field is set.
-
getLicenseeFirstName
public java.lang.String getLicenseeFirstName()
Output only. First name of the licensee.
optional string licensee_first_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLicenseeFirstNamein interfaceLicenseVerificationArtifactOrBuilder- Returns:
- The licenseeFirstName.
-
getLicenseeFirstNameBytes
public com.google.protobuf.ByteString getLicenseeFirstNameBytes()
Output only. First name of the licensee.
optional string licensee_first_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLicenseeFirstNameBytesin interfaceLicenseVerificationArtifactOrBuilder- Returns:
- The bytes for licenseeFirstName.
-
setLicenseeFirstName
public LicenseVerificationArtifact.Builder setLicenseeFirstName(java.lang.String value)
Output only. First name of the licensee.
optional string licensee_first_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The licenseeFirstName to set.- Returns:
- This builder for chaining.
-
clearLicenseeFirstName
public LicenseVerificationArtifact.Builder clearLicenseeFirstName()
Output only. First name of the licensee.
optional string licensee_first_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setLicenseeFirstNameBytes
public LicenseVerificationArtifact.Builder setLicenseeFirstNameBytes(com.google.protobuf.ByteString value)
Output only. First name of the licensee.
optional string licensee_first_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for licenseeFirstName to set.- Returns:
- This builder for chaining.
-
hasLicenseeLastName
public boolean hasLicenseeLastName()
Output only. Last name of the licensee.
optional string licensee_last_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasLicenseeLastNamein interfaceLicenseVerificationArtifactOrBuilder- Returns:
- Whether the licenseeLastName field is set.
-
getLicenseeLastName
public java.lang.String getLicenseeLastName()
Output only. Last name of the licensee.
optional string licensee_last_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLicenseeLastNamein interfaceLicenseVerificationArtifactOrBuilder- Returns:
- The licenseeLastName.
-
getLicenseeLastNameBytes
public com.google.protobuf.ByteString getLicenseeLastNameBytes()
Output only. Last name of the licensee.
optional string licensee_last_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLicenseeLastNameBytesin interfaceLicenseVerificationArtifactOrBuilder- Returns:
- The bytes for licenseeLastName.
-
setLicenseeLastName
public LicenseVerificationArtifact.Builder setLicenseeLastName(java.lang.String value)
Output only. Last name of the licensee.
optional string licensee_last_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The licenseeLastName to set.- Returns:
- This builder for chaining.
-
clearLicenseeLastName
public LicenseVerificationArtifact.Builder clearLicenseeLastName()
Output only. Last name of the licensee.
optional string licensee_last_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setLicenseeLastNameBytes
public LicenseVerificationArtifact.Builder setLicenseeLastNameBytes(com.google.protobuf.ByteString value)
Output only. Last name of the licensee.
optional string licensee_last_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for licenseeLastName to set.- Returns:
- This builder for chaining.
-
hasRejectionReason
public boolean hasRejectionReason()
Output only. License rejection reason.
optional .google.ads.googleads.v15.enums.LocalServicesLicenseRejectionReasonEnum.LocalServicesLicenseRejectionReason rejection_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasRejectionReasonin interfaceLicenseVerificationArtifactOrBuilder- Returns:
- Whether the rejectionReason field is set.
-
getRejectionReasonValue
public int getRejectionReasonValue()
Output only. License rejection reason.
optional .google.ads.googleads.v15.enums.LocalServicesLicenseRejectionReasonEnum.LocalServicesLicenseRejectionReason rejection_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRejectionReasonValuein interfaceLicenseVerificationArtifactOrBuilder- Returns:
- The enum numeric value on the wire for rejectionReason.
-
setRejectionReasonValue
public LicenseVerificationArtifact.Builder setRejectionReasonValue(int value)
Output only. License rejection reason.
optional .google.ads.googleads.v15.enums.LocalServicesLicenseRejectionReasonEnum.LocalServicesLicenseRejectionReason 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 LocalServicesLicenseRejectionReasonEnum.LocalServicesLicenseRejectionReason getRejectionReason()
Output only. License rejection reason.
optional .google.ads.googleads.v15.enums.LocalServicesLicenseRejectionReasonEnum.LocalServicesLicenseRejectionReason rejection_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRejectionReasonin interfaceLicenseVerificationArtifactOrBuilder- Returns:
- The rejectionReason.
-
setRejectionReason
public LicenseVerificationArtifact.Builder setRejectionReason(LocalServicesLicenseRejectionReasonEnum.LocalServicesLicenseRejectionReason value)
Output only. License rejection reason.
optional .google.ads.googleads.v15.enums.LocalServicesLicenseRejectionReasonEnum.LocalServicesLicenseRejectionReason rejection_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The rejectionReason to set.- Returns:
- This builder for chaining.
-
clearRejectionReason
public LicenseVerificationArtifact.Builder clearRejectionReason()
Output only. License rejection reason.
optional .google.ads.googleads.v15.enums.LocalServicesLicenseRejectionReasonEnum.LocalServicesLicenseRejectionReason rejection_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasLicenseDocumentReadonly
public boolean hasLicenseDocumentReadonly()
Output only. The readonly field containing the information for an uploaded license document.
optional .google.ads.googleads.v15.common.LocalServicesDocumentReadOnly license_document_readonly = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasLicenseDocumentReadonlyin interfaceLicenseVerificationArtifactOrBuilder- Returns:
- Whether the licenseDocumentReadonly field is set.
-
getLicenseDocumentReadonly
public LocalServicesDocumentReadOnly getLicenseDocumentReadonly()
Output only. The readonly field containing the information for an uploaded license document.
optional .google.ads.googleads.v15.common.LocalServicesDocumentReadOnly license_document_readonly = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLicenseDocumentReadonlyin interfaceLicenseVerificationArtifactOrBuilder- Returns:
- The licenseDocumentReadonly.
-
setLicenseDocumentReadonly
public LicenseVerificationArtifact.Builder setLicenseDocumentReadonly(LocalServicesDocumentReadOnly value)
Output only. The readonly field containing the information for an uploaded license document.
optional .google.ads.googleads.v15.common.LocalServicesDocumentReadOnly license_document_readonly = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setLicenseDocumentReadonly
public LicenseVerificationArtifact.Builder setLicenseDocumentReadonly(LocalServicesDocumentReadOnly.Builder builderForValue)
Output only. The readonly field containing the information for an uploaded license document.
optional .google.ads.googleads.v15.common.LocalServicesDocumentReadOnly license_document_readonly = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeLicenseDocumentReadonly
public LicenseVerificationArtifact.Builder mergeLicenseDocumentReadonly(LocalServicesDocumentReadOnly value)
Output only. The readonly field containing the information for an uploaded license document.
optional .google.ads.googleads.v15.common.LocalServicesDocumentReadOnly license_document_readonly = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearLicenseDocumentReadonly
public LicenseVerificationArtifact.Builder clearLicenseDocumentReadonly()
Output only. The readonly field containing the information for an uploaded license document.
optional .google.ads.googleads.v15.common.LocalServicesDocumentReadOnly license_document_readonly = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getLicenseDocumentReadonlyBuilder
public LocalServicesDocumentReadOnly.Builder getLicenseDocumentReadonlyBuilder()
Output only. The readonly field containing the information for an uploaded license document.
optional .google.ads.googleads.v15.common.LocalServicesDocumentReadOnly license_document_readonly = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getLicenseDocumentReadonlyOrBuilder
public LocalServicesDocumentReadOnlyOrBuilder getLicenseDocumentReadonlyOrBuilder()
Output only. The readonly field containing the information for an uploaded license document.
optional .google.ads.googleads.v15.common.LocalServicesDocumentReadOnly license_document_readonly = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLicenseDocumentReadonlyOrBuilderin interfaceLicenseVerificationArtifactOrBuilder
-
setUnknownFields
public final LicenseVerificationArtifact.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<LicenseVerificationArtifact.Builder>
-
mergeUnknownFields
public final LicenseVerificationArtifact.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<LicenseVerificationArtifact.Builder>
-
-