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 TypeMethodDescriptionbuild()clear()The unique identifier of the Product & Service Category.The name of the Product & Service Category.The full path of the Product & Service Category.longThe unique identifier of the Product & Service Category.The name of the Product & Service Category.com.google.protobuf.ByteStringThe name of the Product & Service Category.The full path of the Product & Service Category.com.google.protobuf.ByteStringThe full path of the Product & Service Category.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(CategoryInfo other) 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.setCategoryName(String value) The name of the Product & Service Category.setCategoryNameBytes(com.google.protobuf.ByteString value) The name of the Product & Service Category.setCategoryPath(String value) 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, 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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<CategoryInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<CategoryInfo.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.GeneratedMessage.Builder<CategoryInfo.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
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CategoryInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CategoryInfo.Builder>- Throws:
IOException
-
getCategoryName
The name of the Product & Service Category.
string category_name = 1;- Specified by:
getCategoryNamein interfaceCategoryInfoOrBuilder- Returns:
- The categoryName.
-
getCategoryNameBytes
public com.google.protobuf.ByteString getCategoryNameBytes()The name of the Product & Service Category.
string category_name = 1;- Specified by:
getCategoryNameBytesin interfaceCategoryInfoOrBuilder- Returns:
- The bytes for categoryName.
-
setCategoryName
The name of the Product & Service Category.
string category_name = 1;- Parameters:
value- The categoryName to set.- Returns:
- This builder for chaining.
-
clearCategoryName
The name of the Product & Service Category.
string category_name = 1;- Returns:
- This builder for chaining.
-
setCategoryNameBytes
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:
getCategoryIdin interfaceCategoryInfoOrBuilder- Returns:
- The categoryId.
-
setCategoryId
The unique identifier of the Product & Service Category.
int64 category_id = 2;- Parameters:
value- The categoryId to set.- Returns:
- This builder for chaining.
-
clearCategoryId
The unique identifier of the Product & Service Category.
int64 category_id = 2;- Returns:
- This builder for chaining.
-
getCategoryPath
The full path of the Product & Service Category.
string category_path = 3;- Specified by:
getCategoryPathin interfaceCategoryInfoOrBuilder- Returns:
- The categoryPath.
-
getCategoryPathBytes
public com.google.protobuf.ByteString getCategoryPathBytes()The full path of the Product & Service Category.
string category_path = 3;- Specified by:
getCategoryPathBytesin interfaceCategoryInfoOrBuilder- Returns:
- The bytes for categoryPath.
-
setCategoryPath
The full path of the Product & Service Category.
string category_path = 3;- Parameters:
value- The categoryPath to set.- Returns:
- This builder for chaining.
-
clearCategoryPath
The full path of the Product & Service Category.
string category_path = 3;- Returns:
- This builder for chaining.
-
setCategoryPathBytes
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.
-