Class CategoryInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CategoryInfo.Builder>
com.google.ads.googleads.v25.services.CategoryInfo.Builder
All Implemented Interfaces:
CategoryInfoOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
CategoryInfo

public static final class CategoryInfo.Builder extends com.google.protobuf.GeneratedMessage.Builder<CategoryInfo.Builder> implements CategoryInfoOrBuilder
 The information associated with a Product & Service Category.
 
Protobuf type google.ads.googleads.v25.services.CategoryInfo
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    The unique identifier of the Product & Service Category.
    The name of the Product & Service Category.
    The full path of the Product & Service Category.
    long
    The unique identifier of the Product & Service Category.
    The name of the Product & Service Category.
    com.google.protobuf.ByteString
    The name of the Product & Service Category.
    The full path of the Product & Service Category.
    com.google.protobuf.ByteString
    The full path of the Product & Service Category.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    setCategoryId(long value)
    The unique identifier of the Product & Service Category.
    The name of the Product & Service Category.
    setCategoryNameBytes(com.google.protobuf.ByteString value)
    The name of the Product & Service Category.
    The full path of the Product & Service Category.
    setCategoryPathBytes(com.google.protobuf.ByteString value)
    The full path of the Product & Service Category.

    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, 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

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods 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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<CategoryInfo.Builder>
    • clear

      public CategoryInfo.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.GeneratedMessage.Builder<CategoryInfo.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.GeneratedMessage.Builder<CategoryInfo.Builder>
    • getDefaultInstanceForType

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

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

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

      public CategoryInfo.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<CategoryInfo.Builder>
    • mergeFrom

      public CategoryInfo.Builder mergeFrom(CategoryInfo other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<CategoryInfo.Builder>
    • mergeFrom

      public CategoryInfo.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<CategoryInfo.Builder>
      Throws:
      IOException
    • getCategoryName

      public String getCategoryName()
       The name of the Product & Service Category.
       
      string category_name = 1;
      Specified by:
      getCategoryName in interface CategoryInfoOrBuilder
      Returns:
      The categoryName.
    • getCategoryNameBytes

      public com.google.protobuf.ByteString getCategoryNameBytes()
       The name of the Product & Service Category.
       
      string category_name = 1;
      Specified by:
      getCategoryNameBytes in interface CategoryInfoOrBuilder
      Returns:
      The bytes for categoryName.
    • setCategoryName

      public CategoryInfo.Builder setCategoryName(String value)
       The name of the Product & Service Category.
       
      string category_name = 1;
      Parameters:
      value - The categoryName to set.
      Returns:
      This builder for chaining.
    • clearCategoryName

      public CategoryInfo.Builder clearCategoryName()
       The name of the Product & Service Category.
       
      string category_name = 1;
      Returns:
      This builder for chaining.
    • setCategoryNameBytes

      public CategoryInfo.Builder setCategoryNameBytes(com.google.protobuf.ByteString value)
       The name of the Product & Service Category.
       
      string category_name = 1;
      Parameters:
      value - The bytes for categoryName to set.
      Returns:
      This builder for chaining.
    • getCategoryId

      public long getCategoryId()
       The unique identifier of the Product & Service Category.
       
      int64 category_id = 2;
      Specified by:
      getCategoryId in interface CategoryInfoOrBuilder
      Returns:
      The categoryId.
    • setCategoryId

      public CategoryInfo.Builder setCategoryId(long value)
       The unique identifier of the Product & Service Category.
       
      int64 category_id = 2;
      Parameters:
      value - The categoryId to set.
      Returns:
      This builder for chaining.
    • clearCategoryId

      public CategoryInfo.Builder clearCategoryId()
       The unique identifier of the Product & Service Category.
       
      int64 category_id = 2;
      Returns:
      This builder for chaining.
    • getCategoryPath

      public String getCategoryPath()
       The full path of the Product & Service Category.
       
      string category_path = 3;
      Specified by:
      getCategoryPath in interface CategoryInfoOrBuilder
      Returns:
      The categoryPath.
    • getCategoryPathBytes

      public com.google.protobuf.ByteString getCategoryPathBytes()
       The full path of the Product & Service Category.
       
      string category_path = 3;
      Specified by:
      getCategoryPathBytes in interface CategoryInfoOrBuilder
      Returns:
      The bytes for categoryPath.
    • setCategoryPath

      public CategoryInfo.Builder setCategoryPath(String value)
       The full path of the Product & Service Category.
       
      string category_path = 3;
      Parameters:
      value - The categoryPath to set.
      Returns:
      This builder for chaining.
    • clearCategoryPath

      public CategoryInfo.Builder clearCategoryPath()
       The full path of the Product & Service Category.
       
      string category_path = 3;
      Returns:
      This builder for chaining.
    • setCategoryPathBytes

      public CategoryInfo.Builder setCategoryPathBytes(com.google.protobuf.ByteString value)
       The full path of the Product & Service Category.
       
      string category_path = 3;
      Parameters:
      value - The bytes for categoryPath to set.
      Returns:
      This builder for chaining.