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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<GranularLicenseStatus.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<GranularLicenseStatus.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<GranularLicenseStatus.Builder>
    • getDefaultInstanceForType

      public GranularLicenseStatus getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public GranularLicenseStatus build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public GranularLicenseStatus buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<GranularLicenseStatus.Builder>
    • setField

      public GranularLicenseStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<GranularLicenseStatus.Builder>
    • clearField

      public GranularLicenseStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<GranularLicenseStatus.Builder>
    • clearOneof

      public GranularLicenseStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GranularLicenseStatus.Builder>
    • setRepeatedField

      public GranularLicenseStatus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GranularLicenseStatus.Builder>
    • addRepeatedField

      public GranularLicenseStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GranularLicenseStatus.Builder>
    • mergeFrom

      public GranularLicenseStatus.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GranularLicenseStatus.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      hasGeoCriterionId in interface GranularLicenseStatusOrBuilder
      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:
      getGeoCriterionId in interface GranularLicenseStatusOrBuilder
      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:
      hasCategoryId in interface GranularLicenseStatusOrBuilder
      Returns:
      Whether the categoryId field is set.
    • getCategoryId

      public 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:
      getCategoryId in interface GranularLicenseStatusOrBuilder
      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:
      getCategoryIdBytes in interface GranularLicenseStatusOrBuilder
      Returns:
      The bytes for categoryId.
    • setCategoryId

      public GranularLicenseStatus.Builder setCategoryId(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.v18.enums.LocalServicesVerificationStatusEnum.LocalServicesVerificationStatus verification_status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasVerificationStatus in interface GranularLicenseStatusOrBuilder
      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:
      getVerificationStatusValue in interface GranularLicenseStatusOrBuilder
      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.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:
      getVerificationStatus in interface GranularLicenseStatusOrBuilder
      Returns:
      The verificationStatus.
    • setVerificationStatus

       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

      public GranularLicenseStatus.Builder 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:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GranularLicenseStatus.Builder>
    • mergeUnknownFields

      public final GranularLicenseStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GranularLicenseStatus.Builder>