Class ListTaxonomyCategoriesResponse.Builder (0.11.0)

public static final class ListTaxonomyCategoriesResponse.Builder extends GeneratedMessageV3.Builder<ListTaxonomyCategoriesResponse.Builder> implements ListTaxonomyCategoriesResponseOrBuilder

Response object for ListTaxonomyCategoriesRequest containing matching TaxonomyCategory objects.

Protobuf type google.ads.admanager.v1.ListTaxonomyCategoriesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllTaxonomyCategories(Iterable<? extends TaxonomyCategory> values)

public ListTaxonomyCategoriesResponse.Builder addAllTaxonomyCategories(Iterable<? extends TaxonomyCategory> values)

The TaxonomyCategory objects.

repeated .google.ads.admanager.v1.TaxonomyCategory taxonomy_categories = 1;

Parameter
Name Description
values Iterable<? extends com.google.ads.admanager.v1.TaxonomyCategory>
Returns
Type Description
ListTaxonomyCategoriesResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListTaxonomyCategoriesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListTaxonomyCategoriesResponse.Builder
Overrides

addTaxonomyCategories(TaxonomyCategory value)

public ListTaxonomyCategoriesResponse.Builder addTaxonomyCategories(TaxonomyCategory value)

The TaxonomyCategory objects.

repeated .google.ads.admanager.v1.TaxonomyCategory taxonomy_categories = 1;

Parameter
Name Description
value TaxonomyCategory
Returns
Type Description
ListTaxonomyCategoriesResponse.Builder

addTaxonomyCategories(TaxonomyCategory.Builder builderForValue)

public ListTaxonomyCategoriesResponse.Builder addTaxonomyCategories(TaxonomyCategory.Builder builderForValue)

The TaxonomyCategory objects.

repeated .google.ads.admanager.v1.TaxonomyCategory taxonomy_categories = 1;

Parameter
Name Description
builderForValue TaxonomyCategory.Builder
Returns
Type Description
ListTaxonomyCategoriesResponse.Builder

addTaxonomyCategories(int index, TaxonomyCategory value)

public ListTaxonomyCategoriesResponse.Builder addTaxonomyCategories(int index, TaxonomyCategory value)

The TaxonomyCategory objects.

repeated .google.ads.admanager.v1.TaxonomyCategory taxonomy_categories = 1;

Parameters
Name Description
index int
value TaxonomyCategory
Returns
Type Description
ListTaxonomyCategoriesResponse.Builder

addTaxonomyCategories(int index, TaxonomyCategory.Builder builderForValue)

public ListTaxonomyCategoriesResponse.Builder addTaxonomyCategories(int index, TaxonomyCategory.Builder builderForValue)

The TaxonomyCategory objects.

repeated .google.ads.admanager.v1.TaxonomyCategory taxonomy_categories = 1;

Parameters
Name Description
index int
builderForValue TaxonomyCategory.Builder
Returns
Type Description
ListTaxonomyCategoriesResponse.Builder

addTaxonomyCategoriesBuilder()

public TaxonomyCategory.Builder addTaxonomyCategoriesBuilder()

The TaxonomyCategory objects.

repeated .google.ads.admanager.v1.TaxonomyCategory taxonomy_categories = 1;

Returns
Type Description
TaxonomyCategory.Builder

addTaxonomyCategoriesBuilder(int index)

public TaxonomyCategory.Builder addTaxonomyCategoriesBuilder(int index)

The TaxonomyCategory objects.

repeated .google.ads.admanager.v1.TaxonomyCategory taxonomy_categories = 1;

Parameter
Name Description
index int
Returns
Type Description
TaxonomyCategory.Builder

build()

public ListTaxonomyCategoriesResponse build()
Returns
Type Description
ListTaxonomyCategoriesResponse

buildPartial()

public ListTaxonomyCategoriesResponse buildPartial()
Returns
Type Description
ListTaxonomyCategoriesResponse

clear()

public ListTaxonomyCategoriesResponse.Builder clear()
Returns
Type Description
ListTaxonomyCategoriesResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListTaxonomyCategoriesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListTaxonomyCategoriesResponse.Builder
Overrides

clearNextPageToken()

public ListTaxonomyCategoriesResponse.Builder clearNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ListTaxonomyCategoriesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListTaxonomyCategoriesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListTaxonomyCategoriesResponse.Builder
Overrides

clearTaxonomyCategories()

public ListTaxonomyCategoriesResponse.Builder clearTaxonomyCategories()

The TaxonomyCategory objects.

repeated .google.ads.admanager.v1.TaxonomyCategory taxonomy_categories = 1;

Returns
Type Description
ListTaxonomyCategoriesResponse.Builder

clearTotalSize()

public ListTaxonomyCategoriesResponse.Builder clearTotalSize()

Total number of TaxonomyCategory objects. If a filter was included in the request, this reflects the total number after the filtering is applied.

total_size will not be calculated in the response unless it has been included in a response field mask. The response field mask can be provided to the method by using the URL parameter $fields or fields, or by using the HTTP/gRPC header X-Goog-FieldMask.

For more information, see https://developers.google.com/ad-manager/api/beta/field-masks

int32 total_size = 3;

Returns
Type Description
ListTaxonomyCategoriesResponse.Builder

This builder for chaining.

clone()

public ListTaxonomyCategoriesResponse.Builder clone()
Returns
Type Description
ListTaxonomyCategoriesResponse.Builder
Overrides

getDefaultInstanceForType()

public ListTaxonomyCategoriesResponse getDefaultInstanceForType()
Returns
Type Description
ListTaxonomyCategoriesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getTaxonomyCategories(int index)

public TaxonomyCategory getTaxonomyCategories(int index)

The TaxonomyCategory objects.

repeated .google.ads.admanager.v1.TaxonomyCategory taxonomy_categories = 1;

Parameter
Name Description
index int
Returns
Type Description
TaxonomyCategory

getTaxonomyCategoriesBuilder(int index)

public TaxonomyCategory.Builder getTaxonomyCategoriesBuilder(int index)

The TaxonomyCategory objects.

repeated .google.ads.admanager.v1.TaxonomyCategory taxonomy_categories = 1;

Parameter
Name Description
index int
Returns
Type Description
TaxonomyCategory.Builder

getTaxonomyCategoriesBuilderList()

public List<TaxonomyCategory.Builder> getTaxonomyCategoriesBuilderList()

The TaxonomyCategory objects.

repeated .google.ads.admanager.v1.TaxonomyCategory taxonomy_categories = 1;

Returns
Type Description
List<Builder>

getTaxonomyCategoriesCount()

public int getTaxonomyCategoriesCount()

The TaxonomyCategory objects.

repeated .google.ads.admanager.v1.TaxonomyCategory taxonomy_categories = 1;

Returns
Type Description
int

getTaxonomyCategoriesList()

public List<TaxonomyCategory> getTaxonomyCategoriesList()

The TaxonomyCategory objects.

repeated .google.ads.admanager.v1.TaxonomyCategory taxonomy_categories = 1;

Returns
Type Description
List<TaxonomyCategory>

getTaxonomyCategoriesOrBuilder(int index)

public TaxonomyCategoryOrBuilder getTaxonomyCategoriesOrBuilder(int index)

The TaxonomyCategory objects.

repeated .google.ads.admanager.v1.TaxonomyCategory taxonomy_categories = 1;

Parameter
Name Description
index int
Returns
Type Description
TaxonomyCategoryOrBuilder

getTaxonomyCategoriesOrBuilderList()

public List<? extends TaxonomyCategoryOrBuilder> getTaxonomyCategoriesOrBuilderList()

The TaxonomyCategory objects.

repeated .google.ads.admanager.v1.TaxonomyCategory taxonomy_categories = 1;

Returns
Type Description
List<? extends com.google.ads.admanager.v1.TaxonomyCategoryOrBuilder>

getTotalSize()

public int getTotalSize()

Total number of TaxonomyCategory objects. If a filter was included in the request, this reflects the total number after the filtering is applied.

total_size will not be calculated in the response unless it has been included in a response field mask. The response field mask can be provided to the method by using the URL parameter $fields or fields, or by using the HTTP/gRPC header X-Goog-FieldMask.

For more information, see https://developers.google.com/ad-manager/api/beta/field-masks

int32 total_size = 3;

Returns
Type Description
int

The totalSize.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListTaxonomyCategoriesResponse other)

public ListTaxonomyCategoriesResponse.Builder mergeFrom(ListTaxonomyCategoriesResponse other)
Parameter
Name Description
other ListTaxonomyCategoriesResponse
Returns
Type Description
ListTaxonomyCategoriesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListTaxonomyCategoriesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListTaxonomyCategoriesResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListTaxonomyCategoriesResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListTaxonomyCategoriesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListTaxonomyCategoriesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListTaxonomyCategoriesResponse.Builder
Overrides

removeTaxonomyCategories(int index)

public ListTaxonomyCategoriesResponse.Builder removeTaxonomyCategories(int index)

The TaxonomyCategory objects.

repeated .google.ads.admanager.v1.TaxonomyCategory taxonomy_categories = 1;

Parameter
Name Description
index int
Returns
Type Description
ListTaxonomyCategoriesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListTaxonomyCategoriesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListTaxonomyCategoriesResponse.Builder
Overrides

setNextPageToken(String value)

public ListTaxonomyCategoriesResponse.Builder setNextPageToken(String value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListTaxonomyCategoriesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListTaxonomyCategoriesResponse.Builder setNextPageTokenBytes(ByteString value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListTaxonomyCategoriesResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListTaxonomyCategoriesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListTaxonomyCategoriesResponse.Builder
Overrides

setTaxonomyCategories(int index, TaxonomyCategory value)

public ListTaxonomyCategoriesResponse.Builder setTaxonomyCategories(int index, TaxonomyCategory value)

The TaxonomyCategory objects.

repeated .google.ads.admanager.v1.TaxonomyCategory taxonomy_categories = 1;

Parameters
Name Description
index int
value TaxonomyCategory
Returns
Type Description
ListTaxonomyCategoriesResponse.Builder

setTaxonomyCategories(int index, TaxonomyCategory.Builder builderForValue)

public ListTaxonomyCategoriesResponse.Builder setTaxonomyCategories(int index, TaxonomyCategory.Builder builderForValue)

The TaxonomyCategory objects.

repeated .google.ads.admanager.v1.TaxonomyCategory taxonomy_categories = 1;

Parameters
Name Description
index int
builderForValue TaxonomyCategory.Builder
Returns
Type Description
ListTaxonomyCategoriesResponse.Builder

setTotalSize(int value)

public ListTaxonomyCategoriesResponse.Builder setTotalSize(int value)

Total number of TaxonomyCategory objects. If a filter was included in the request, this reflects the total number after the filtering is applied.

total_size will not be calculated in the response unless it has been included in a response field mask. The response field mask can be provided to the method by using the URL parameter $fields or fields, or by using the HTTP/gRPC header X-Goog-FieldMask.

For more information, see https://developers.google.com/ad-manager/api/beta/field-masks

int32 total_size = 3;

Parameter
Name Description
value int

The totalSize to set.

Returns
Type Description
ListTaxonomyCategoriesResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ListTaxonomyCategoriesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListTaxonomyCategoriesResponse.Builder
Overrides