Class ListThirdPartyCompaniesResponse.Builder (0.54.0)

public static final class ListThirdPartyCompaniesResponse.Builder extends GeneratedMessage.Builder<ListThirdPartyCompaniesResponse.Builder> implements ListThirdPartyCompaniesResponseOrBuilder

Response object for ListThirdPartyCompaniesRequest containing matching ThirdPartyCompany objects.

Protobuf type google.ads.admanager.v1.ListThirdPartyCompaniesResponse

Static Methods

getDescriptor()

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

Methods

addAllThirdPartyCompanies(Iterable<? extends ThirdPartyCompany> values)

public ListThirdPartyCompaniesResponse.Builder addAllThirdPartyCompanies(Iterable<? extends ThirdPartyCompany> values)

The ThirdPartyCompany objects from the specified network.

repeated .google.ads.admanager.v1.ThirdPartyCompany third_party_companies = 1;

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

addThirdPartyCompanies(ThirdPartyCompany value)

public ListThirdPartyCompaniesResponse.Builder addThirdPartyCompanies(ThirdPartyCompany value)

The ThirdPartyCompany objects from the specified network.

repeated .google.ads.admanager.v1.ThirdPartyCompany third_party_companies = 1;

Parameter
Name Description
value ThirdPartyCompany
Returns
Type Description
ListThirdPartyCompaniesResponse.Builder

addThirdPartyCompanies(ThirdPartyCompany.Builder builderForValue)

public ListThirdPartyCompaniesResponse.Builder addThirdPartyCompanies(ThirdPartyCompany.Builder builderForValue)

The ThirdPartyCompany objects from the specified network.

repeated .google.ads.admanager.v1.ThirdPartyCompany third_party_companies = 1;

Parameter
Name Description
builderForValue ThirdPartyCompany.Builder
Returns
Type Description
ListThirdPartyCompaniesResponse.Builder

addThirdPartyCompanies(int index, ThirdPartyCompany value)

public ListThirdPartyCompaniesResponse.Builder addThirdPartyCompanies(int index, ThirdPartyCompany value)

The ThirdPartyCompany objects from the specified network.

repeated .google.ads.admanager.v1.ThirdPartyCompany third_party_companies = 1;

Parameters
Name Description
index int
value ThirdPartyCompany
Returns
Type Description
ListThirdPartyCompaniesResponse.Builder

addThirdPartyCompanies(int index, ThirdPartyCompany.Builder builderForValue)

public ListThirdPartyCompaniesResponse.Builder addThirdPartyCompanies(int index, ThirdPartyCompany.Builder builderForValue)

The ThirdPartyCompany objects from the specified network.

repeated .google.ads.admanager.v1.ThirdPartyCompany third_party_companies = 1;

Parameters
Name Description
index int
builderForValue ThirdPartyCompany.Builder
Returns
Type Description
ListThirdPartyCompaniesResponse.Builder

addThirdPartyCompaniesBuilder()

public ThirdPartyCompany.Builder addThirdPartyCompaniesBuilder()

The ThirdPartyCompany objects from the specified network.

repeated .google.ads.admanager.v1.ThirdPartyCompany third_party_companies = 1;

Returns
Type Description
ThirdPartyCompany.Builder

addThirdPartyCompaniesBuilder(int index)

public ThirdPartyCompany.Builder addThirdPartyCompaniesBuilder(int index)

The ThirdPartyCompany objects from the specified network.

repeated .google.ads.admanager.v1.ThirdPartyCompany third_party_companies = 1;

Parameter
Name Description
index int
Returns
Type Description
ThirdPartyCompany.Builder

build()

public ListThirdPartyCompaniesResponse build()
Returns
Type Description
ListThirdPartyCompaniesResponse

buildPartial()

public ListThirdPartyCompaniesResponse buildPartial()
Returns
Type Description
ListThirdPartyCompaniesResponse

clear()

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

clearNextPageToken()

public ListThirdPartyCompaniesResponse.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
ListThirdPartyCompaniesResponse.Builder

This builder for chaining.

clearThirdPartyCompanies()

public ListThirdPartyCompaniesResponse.Builder clearThirdPartyCompanies()

The ThirdPartyCompany objects from the specified network.

repeated .google.ads.admanager.v1.ThirdPartyCompany third_party_companies = 1;

Returns
Type Description
ListThirdPartyCompaniesResponse.Builder

clearTotalSize()

public ListThirdPartyCompaniesResponse.Builder clearTotalSize()

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

total_size won't 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
ListThirdPartyCompaniesResponse.Builder

This builder for chaining.

getDefaultInstanceForType()

public ListThirdPartyCompaniesResponse getDefaultInstanceForType()
Returns
Type Description
ListThirdPartyCompaniesResponse

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.

getThirdPartyCompanies(int index)

public ThirdPartyCompany getThirdPartyCompanies(int index)

The ThirdPartyCompany objects from the specified network.

repeated .google.ads.admanager.v1.ThirdPartyCompany third_party_companies = 1;

Parameter
Name Description
index int
Returns
Type Description
ThirdPartyCompany

getThirdPartyCompaniesBuilder(int index)

public ThirdPartyCompany.Builder getThirdPartyCompaniesBuilder(int index)

The ThirdPartyCompany objects from the specified network.

repeated .google.ads.admanager.v1.ThirdPartyCompany third_party_companies = 1;

Parameter
Name Description
index int
Returns
Type Description
ThirdPartyCompany.Builder

getThirdPartyCompaniesBuilderList()

public List<ThirdPartyCompany.Builder> getThirdPartyCompaniesBuilderList()

The ThirdPartyCompany objects from the specified network.

repeated .google.ads.admanager.v1.ThirdPartyCompany third_party_companies = 1;

Returns
Type Description
List<Builder>

getThirdPartyCompaniesCount()

public int getThirdPartyCompaniesCount()

The ThirdPartyCompany objects from the specified network.

repeated .google.ads.admanager.v1.ThirdPartyCompany third_party_companies = 1;

Returns
Type Description
int

getThirdPartyCompaniesList()

public List<ThirdPartyCompany> getThirdPartyCompaniesList()

The ThirdPartyCompany objects from the specified network.

repeated .google.ads.admanager.v1.ThirdPartyCompany third_party_companies = 1;

Returns
Type Description
List<ThirdPartyCompany>

getThirdPartyCompaniesOrBuilder(int index)

public ThirdPartyCompanyOrBuilder getThirdPartyCompaniesOrBuilder(int index)

The ThirdPartyCompany objects from the specified network.

repeated .google.ads.admanager.v1.ThirdPartyCompany third_party_companies = 1;

Parameter
Name Description
index int
Returns
Type Description
ThirdPartyCompanyOrBuilder

getThirdPartyCompaniesOrBuilderList()

public List<? extends ThirdPartyCompanyOrBuilder> getThirdPartyCompaniesOrBuilderList()

The ThirdPartyCompany objects from the specified network.

repeated .google.ads.admanager.v1.ThirdPartyCompany third_party_companies = 1;

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

getTotalSize()

public int getTotalSize()

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

total_size won't 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListThirdPartyCompaniesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeThirdPartyCompanies(int index)

public ListThirdPartyCompaniesResponse.Builder removeThirdPartyCompanies(int index)

The ThirdPartyCompany objects from the specified network.

repeated .google.ads.admanager.v1.ThirdPartyCompany third_party_companies = 1;

Parameter
Name Description
index int
Returns
Type Description
ListThirdPartyCompaniesResponse.Builder

setNextPageToken(String value)

public ListThirdPartyCompaniesResponse.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
ListThirdPartyCompaniesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListThirdPartyCompaniesResponse.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
ListThirdPartyCompaniesResponse.Builder

This builder for chaining.

setThirdPartyCompanies(int index, ThirdPartyCompany value)

public ListThirdPartyCompaniesResponse.Builder setThirdPartyCompanies(int index, ThirdPartyCompany value)

The ThirdPartyCompany objects from the specified network.

repeated .google.ads.admanager.v1.ThirdPartyCompany third_party_companies = 1;

Parameters
Name Description
index int
value ThirdPartyCompany
Returns
Type Description
ListThirdPartyCompaniesResponse.Builder

setThirdPartyCompanies(int index, ThirdPartyCompany.Builder builderForValue)

public ListThirdPartyCompaniesResponse.Builder setThirdPartyCompanies(int index, ThirdPartyCompany.Builder builderForValue)

The ThirdPartyCompany objects from the specified network.

repeated .google.ads.admanager.v1.ThirdPartyCompany third_party_companies = 1;

Parameters
Name Description
index int
builderForValue ThirdPartyCompany.Builder
Returns
Type Description
ListThirdPartyCompaniesResponse.Builder

setTotalSize(int value)

public ListThirdPartyCompaniesResponse.Builder setTotalSize(int value)

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

total_size won't 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
ListThirdPartyCompaniesResponse.Builder

This builder for chaining.