Class GranularLicenseStatus.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<GranularLicenseStatus.Builder>
com.google.ads.googleads.v18.resources.GranularLicenseStatus.Builder
- All Implemented Interfaces:
GranularLicenseStatusOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- GranularLicenseStatus
public static final class GranularLicenseStatus.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<GranularLicenseStatus.Builder>
implements GranularLicenseStatusOrBuilder
License status at geo + vertical level.Protobuf type
google.ads.googleads.v18.resources.GranularLicenseStatus-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Output only.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Output only.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Output only.clone()Output only.com.google.protobuf.ByteStringOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlongOutput only.Output only.intOutput only.booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(GranularLicenseStatus other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setCategoryId(String value) Output only.setCategoryIdBytes(com.google.protobuf.ByteString value) Output only.setGeoCriterionId(long value) Output only.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Output only.setVerificationStatusValue(int value) Output only.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, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<GranularLicenseStatus.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<GranularLicenseStatus.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<GranularLicenseStatus.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
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<GranularLicenseStatus.Builder>
-
setField
public GranularLicenseStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GranularLicenseStatus.Builder>
-
clearField
public GranularLicenseStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GranularLicenseStatus.Builder>
-
clearOneof
public GranularLicenseStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GranularLicenseStatus.Builder>
-
setRepeatedField
public GranularLicenseStatus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GranularLicenseStatus.Builder>
-
addRepeatedField
public GranularLicenseStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GranularLicenseStatus.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GranularLicenseStatus.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<GranularLicenseStatus.Builder>
-
mergeFrom
public GranularLicenseStatus.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<GranularLicenseStatus.Builder>- Throws:
IOException
-
hasGeoCriterionId
public boolean hasGeoCriterionId()Output only. Geotarget criterion ID associated with the status. Can be on country or state/province geo level, depending on requirements and location. See https://developers.google.com/google-ads/api/data/geotargets for more information.
optional int64 geo_criterion_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasGeoCriterionIdin interfaceGranularLicenseStatusOrBuilder- Returns:
- Whether the geoCriterionId field is set.
-
getGeoCriterionId
public long getGeoCriterionId()Output only. Geotarget criterion ID associated with the status. Can be on country or state/province geo level, depending on requirements and location. See https://developers.google.com/google-ads/api/data/geotargets for more information.
optional int64 geo_criterion_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getGeoCriterionIdin interfaceGranularLicenseStatusOrBuilder- Returns:
- The geoCriterionId.
-
setGeoCriterionId
Output only. Geotarget criterion ID associated with the status. Can be on country or state/province geo level, depending on requirements and location. See https://developers.google.com/google-ads/api/data/geotargets for more information.
optional int64 geo_criterion_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The geoCriterionId to set.- Returns:
- This builder for chaining.
-
clearGeoCriterionId
Output only. Geotarget criterion ID associated with the status. Can be on country or state/province geo level, depending on requirements and location. See https://developers.google.com/google-ads/api/data/geotargets for more information.
optional int64 geo_criterion_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasCategoryId
public boolean hasCategoryId()Output only. Service category associated with the status. For example, xcat:service_area_business_plumber. For more details see: https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids
optional string category_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCategoryIdin interfaceGranularLicenseStatusOrBuilder- Returns:
- Whether the categoryId field is set.
-
getCategoryId
Output only. Service category associated with the status. For example, xcat:service_area_business_plumber. For more details see: https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids
optional string category_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCategoryIdin interfaceGranularLicenseStatusOrBuilder- Returns:
- The categoryId.
-
getCategoryIdBytes
public com.google.protobuf.ByteString getCategoryIdBytes()Output only. Service category associated with the status. For example, xcat:service_area_business_plumber. For more details see: https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids
optional string category_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCategoryIdBytesin interfaceGranularLicenseStatusOrBuilder- Returns:
- The bytes for categoryId.
-
setCategoryId
Output only. Service category associated with the status. For example, xcat:service_area_business_plumber. For more details see: https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids
optional string category_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The categoryId to set.- Returns:
- This builder for chaining.
-
clearCategoryId
Output only. Service category associated with the status. For example, xcat:service_area_business_plumber. For more details see: https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids
optional string category_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setCategoryIdBytes
Output only. Service category associated with the status. For example, xcat:service_area_business_plumber. For more details see: https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids
optional string category_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for categoryId to set.- Returns:
- This builder for chaining.
-
hasVerificationStatus
public boolean hasVerificationStatus()Output only. Granular license status, per geo + vertical.
optional .google.ads.googleads.v18.enums.LocalServicesVerificationStatusEnum.LocalServicesVerificationStatus verification_status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasVerificationStatusin interfaceGranularLicenseStatusOrBuilder- Returns:
- Whether the verificationStatus field is set.
-
getVerificationStatusValue
public int getVerificationStatusValue()Output only. Granular license status, per geo + vertical.
optional .google.ads.googleads.v18.enums.LocalServicesVerificationStatusEnum.LocalServicesVerificationStatus verification_status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getVerificationStatusValuein interfaceGranularLicenseStatusOrBuilder- Returns:
- The enum numeric value on the wire for verificationStatus.
-
setVerificationStatusValue
Output only. Granular license status, per geo + vertical.
optional .google.ads.googleads.v18.enums.LocalServicesVerificationStatusEnum.LocalServicesVerificationStatus verification_status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for verificationStatus to set.- Returns:
- This builder for chaining.
-
getVerificationStatus
Output only. Granular license status, per geo + vertical.
optional .google.ads.googleads.v18.enums.LocalServicesVerificationStatusEnum.LocalServicesVerificationStatus verification_status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getVerificationStatusin interfaceGranularLicenseStatusOrBuilder- Returns:
- The verificationStatus.
-
setVerificationStatus
public GranularLicenseStatus.Builder setVerificationStatus(LocalServicesVerificationStatusEnum.LocalServicesVerificationStatus value) Output only. Granular license status, per geo + vertical.
optional .google.ads.googleads.v18.enums.LocalServicesVerificationStatusEnum.LocalServicesVerificationStatus verification_status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The verificationStatus to set.- Returns:
- This builder for chaining.
-
clearVerificationStatus
Output only. Granular license status, per geo + vertical.
optional .google.ads.googleads.v18.enums.LocalServicesVerificationStatusEnum.LocalServicesVerificationStatus verification_status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setUnknownFields
public final GranularLicenseStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GranularLicenseStatus.Builder>
-
mergeUnknownFields
public final GranularLicenseStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GranularLicenseStatus.Builder>
-