Class ListApplicationsResponse.Builder (0.39.0)

public static final class ListApplicationsResponse.Builder extends GeneratedMessageV3.Builder<ListApplicationsResponse.Builder> implements ListApplicationsResponseOrBuilder

Response object for ListApplicationsRequest containing matching Application objects.

Protobuf type google.ads.admanager.v1.ListApplicationsResponse

Static Methods

getDescriptor()

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

Methods

addAllApplications(Iterable<? extends Application> values)

public ListApplicationsResponse.Builder addAllApplications(Iterable<? extends Application> values)

The Application objects from the specified network.

repeated .google.ads.admanager.v1.Application applications = 1;

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

addApplications(Application value)

public ListApplicationsResponse.Builder addApplications(Application value)

The Application objects from the specified network.

repeated .google.ads.admanager.v1.Application applications = 1;

Parameter
Name Description
value Application
Returns
Type Description
ListApplicationsResponse.Builder

addApplications(Application.Builder builderForValue)

public ListApplicationsResponse.Builder addApplications(Application.Builder builderForValue)

The Application objects from the specified network.

repeated .google.ads.admanager.v1.Application applications = 1;

Parameter
Name Description
builderForValue Application.Builder
Returns
Type Description
ListApplicationsResponse.Builder

addApplications(int index, Application value)

public ListApplicationsResponse.Builder addApplications(int index, Application value)

The Application objects from the specified network.

repeated .google.ads.admanager.v1.Application applications = 1;

Parameters
Name Description
index int
value Application
Returns
Type Description
ListApplicationsResponse.Builder

addApplications(int index, Application.Builder builderForValue)

public ListApplicationsResponse.Builder addApplications(int index, Application.Builder builderForValue)

The Application objects from the specified network.

repeated .google.ads.admanager.v1.Application applications = 1;

Parameters
Name Description
index int
builderForValue Application.Builder
Returns
Type Description
ListApplicationsResponse.Builder

addApplicationsBuilder()

public Application.Builder addApplicationsBuilder()

The Application objects from the specified network.

repeated .google.ads.admanager.v1.Application applications = 1;

Returns
Type Description
Application.Builder

addApplicationsBuilder(int index)

public Application.Builder addApplicationsBuilder(int index)

The Application objects from the specified network.

repeated .google.ads.admanager.v1.Application applications = 1;

Parameter
Name Description
index int
Returns
Type Description
Application.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListApplicationsResponse build()
Returns
Type Description
ListApplicationsResponse

buildPartial()

public ListApplicationsResponse buildPartial()
Returns
Type Description
ListApplicationsResponse

clear()

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

clearApplications()

public ListApplicationsResponse.Builder clearApplications()

The Application objects from the specified network.

repeated .google.ads.admanager.v1.Application applications = 1;

Returns
Type Description
ListApplicationsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTotalSize()

public ListApplicationsResponse.Builder clearTotalSize()

Total number of Application 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
ListApplicationsResponse.Builder

This builder for chaining.

clone()

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

getApplications(int index)

public Application getApplications(int index)

The Application objects from the specified network.

repeated .google.ads.admanager.v1.Application applications = 1;

Parameter
Name Description
index int
Returns
Type Description
Application

getApplicationsBuilder(int index)

public Application.Builder getApplicationsBuilder(int index)

The Application objects from the specified network.

repeated .google.ads.admanager.v1.Application applications = 1;

Parameter
Name Description
index int
Returns
Type Description
Application.Builder

getApplicationsBuilderList()

public List<Application.Builder> getApplicationsBuilderList()

The Application objects from the specified network.

repeated .google.ads.admanager.v1.Application applications = 1;

Returns
Type Description
List<Builder>

getApplicationsCount()

public int getApplicationsCount()

The Application objects from the specified network.

repeated .google.ads.admanager.v1.Application applications = 1;

Returns
Type Description
int

getApplicationsList()

public List<Application> getApplicationsList()

The Application objects from the specified network.

repeated .google.ads.admanager.v1.Application applications = 1;

Returns
Type Description
List<Application>

getApplicationsOrBuilder(int index)

public ApplicationOrBuilder getApplicationsOrBuilder(int index)

The Application objects from the specified network.

repeated .google.ads.admanager.v1.Application applications = 1;

Parameter
Name Description
index int
Returns
Type Description
ApplicationOrBuilder

getApplicationsOrBuilderList()

public List<? extends ApplicationOrBuilder> getApplicationsOrBuilderList()

The Application objects from the specified network.

repeated .google.ads.admanager.v1.Application applications = 1;

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

getDefaultInstanceForType()

public ListApplicationsResponse getDefaultInstanceForType()
Returns
Type Description
ListApplicationsResponse

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.

getTotalSize()

public int getTotalSize()

Total number of Application 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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListApplicationsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeApplications(int index)

public ListApplicationsResponse.Builder removeApplications(int index)

The Application objects from the specified network.

repeated .google.ads.admanager.v1.Application applications = 1;

Parameter
Name Description
index int
Returns
Type Description
ListApplicationsResponse.Builder

setApplications(int index, Application value)

public ListApplicationsResponse.Builder setApplications(int index, Application value)

The Application objects from the specified network.

repeated .google.ads.admanager.v1.Application applications = 1;

Parameters
Name Description
index int
value Application
Returns
Type Description
ListApplicationsResponse.Builder

setApplications(int index, Application.Builder builderForValue)

public ListApplicationsResponse.Builder setApplications(int index, Application.Builder builderForValue)

The Application objects from the specified network.

repeated .google.ads.admanager.v1.Application applications = 1;

Parameters
Name Description
index int
builderForValue Application.Builder
Returns
Type Description
ListApplicationsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

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

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

setTotalSize(int value)

public ListApplicationsResponse.Builder setTotalSize(int value)

Total number of Application 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
ListApplicationsResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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