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.v15.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,java.lang.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 typegoogle.ads.googleads.v15.resources.GranularLicenseStatus
-
-
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<GranularLicenseStatus.Builder>
-
clear
public 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
public GranularLicenseStatus getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public GranularLicenseStatus build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GranularLicenseStatus buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public GranularLicenseStatus.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, java.lang.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, java.lang.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, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GranularLicenseStatus.Builder>
-
mergeFrom
public GranularLicenseStatus.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GranularLicenseStatus.Builder>
-
mergeFrom
public GranularLicenseStatus.Builder mergeFrom(GranularLicenseStatus other)
-
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 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<GranularLicenseStatus.Builder>- Throws:
java.io.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
public GranularLicenseStatus.Builder setGeoCriterionId(long value)
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
public GranularLicenseStatus.Builder 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
public java.lang.String 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
public GranularLicenseStatus.Builder setCategoryId(java.lang.String value)
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
public GranularLicenseStatus.Builder 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
public GranularLicenseStatus.Builder setCategoryIdBytes(com.google.protobuf.ByteString value)
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.v15.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.v15.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
public GranularLicenseStatus.Builder setVerificationStatusValue(int value)
Output only. Granular license status, per geo + vertical.
optional .google.ads.googleads.v15.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
public LocalServicesVerificationStatusEnum.LocalServicesVerificationStatus getVerificationStatus()
Output only. Granular license status, per geo + vertical.
optional .google.ads.googleads.v15.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.v15.enums.LocalServicesVerificationStatusEnum.LocalServicesVerificationStatus verification_status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The verificationStatus to set.- Returns:
- This builder for chaining.
-
clearVerificationStatus
public GranularLicenseStatus.Builder clearVerificationStatus()
Output only. Granular license status, per geo + vertical.
optional .google.ads.googleads.v15.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>
-
-