Class ListCreativeWrappersResponse.Builder (0.58.0)

public static final class ListCreativeWrappersResponse.Builder extends GeneratedMessage.Builder<ListCreativeWrappersResponse.Builder> implements ListCreativeWrappersResponseOrBuilder

Response object for ListCreativeWrappersRequest containing matching CreativeWrapper objects.

Protobuf type google.ads.admanager.v1.ListCreativeWrappersResponse

Static Methods

getDescriptor()

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

Methods

addAllCreativeWrappers(Iterable<? extends CreativeWrapper> values)

public ListCreativeWrappersResponse.Builder addAllCreativeWrappers(Iterable<? extends CreativeWrapper> values)

The CreativeWrapper objects from the specified network.

repeated .google.ads.admanager.v1.CreativeWrapper creative_wrappers = 1;

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

addCreativeWrappers(CreativeWrapper value)

public ListCreativeWrappersResponse.Builder addCreativeWrappers(CreativeWrapper value)

The CreativeWrapper objects from the specified network.

repeated .google.ads.admanager.v1.CreativeWrapper creative_wrappers = 1;

Parameter
Name Description
value CreativeWrapper
Returns
Type Description
ListCreativeWrappersResponse.Builder

addCreativeWrappers(CreativeWrapper.Builder builderForValue)

public ListCreativeWrappersResponse.Builder addCreativeWrappers(CreativeWrapper.Builder builderForValue)

The CreativeWrapper objects from the specified network.

repeated .google.ads.admanager.v1.CreativeWrapper creative_wrappers = 1;

Parameter
Name Description
builderForValue CreativeWrapper.Builder
Returns
Type Description
ListCreativeWrappersResponse.Builder

addCreativeWrappers(int index, CreativeWrapper value)

public ListCreativeWrappersResponse.Builder addCreativeWrappers(int index, CreativeWrapper value)

The CreativeWrapper objects from the specified network.

repeated .google.ads.admanager.v1.CreativeWrapper creative_wrappers = 1;

Parameters
Name Description
index int
value CreativeWrapper
Returns
Type Description
ListCreativeWrappersResponse.Builder

addCreativeWrappers(int index, CreativeWrapper.Builder builderForValue)

public ListCreativeWrappersResponse.Builder addCreativeWrappers(int index, CreativeWrapper.Builder builderForValue)

The CreativeWrapper objects from the specified network.

repeated .google.ads.admanager.v1.CreativeWrapper creative_wrappers = 1;

Parameters
Name Description
index int
builderForValue CreativeWrapper.Builder
Returns
Type Description
ListCreativeWrappersResponse.Builder

addCreativeWrappersBuilder()

public CreativeWrapper.Builder addCreativeWrappersBuilder()

The CreativeWrapper objects from the specified network.

repeated .google.ads.admanager.v1.CreativeWrapper creative_wrappers = 1;

Returns
Type Description
CreativeWrapper.Builder

addCreativeWrappersBuilder(int index)

public CreativeWrapper.Builder addCreativeWrappersBuilder(int index)

The CreativeWrapper objects from the specified network.

repeated .google.ads.admanager.v1.CreativeWrapper creative_wrappers = 1;

Parameter
Name Description
index int
Returns
Type Description
CreativeWrapper.Builder

build()

public ListCreativeWrappersResponse build()
Returns
Type Description
ListCreativeWrappersResponse

buildPartial()

public ListCreativeWrappersResponse buildPartial()
Returns
Type Description
ListCreativeWrappersResponse

clear()

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

clearCreativeWrappers()

public ListCreativeWrappersResponse.Builder clearCreativeWrappers()

The CreativeWrapper objects from the specified network.

repeated .google.ads.admanager.v1.CreativeWrapper creative_wrappers = 1;

Returns
Type Description
ListCreativeWrappersResponse.Builder

clearNextPageToken()

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

This builder for chaining.

clearTotalSize()

public ListCreativeWrappersResponse.Builder clearTotalSize()

Total number of CreativeWrapper 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
ListCreativeWrappersResponse.Builder

This builder for chaining.

getCreativeWrappers(int index)

public CreativeWrapper getCreativeWrappers(int index)

The CreativeWrapper objects from the specified network.

repeated .google.ads.admanager.v1.CreativeWrapper creative_wrappers = 1;

Parameter
Name Description
index int
Returns
Type Description
CreativeWrapper

getCreativeWrappersBuilder(int index)

public CreativeWrapper.Builder getCreativeWrappersBuilder(int index)

The CreativeWrapper objects from the specified network.

repeated .google.ads.admanager.v1.CreativeWrapper creative_wrappers = 1;

Parameter
Name Description
index int
Returns
Type Description
CreativeWrapper.Builder

getCreativeWrappersBuilderList()

public List<CreativeWrapper.Builder> getCreativeWrappersBuilderList()

The CreativeWrapper objects from the specified network.

repeated .google.ads.admanager.v1.CreativeWrapper creative_wrappers = 1;

Returns
Type Description
List<Builder>

getCreativeWrappersCount()

public int getCreativeWrappersCount()

The CreativeWrapper objects from the specified network.

repeated .google.ads.admanager.v1.CreativeWrapper creative_wrappers = 1;

Returns
Type Description
int

getCreativeWrappersList()

public List<CreativeWrapper> getCreativeWrappersList()

The CreativeWrapper objects from the specified network.

repeated .google.ads.admanager.v1.CreativeWrapper creative_wrappers = 1;

Returns
Type Description
List<CreativeWrapper>

getCreativeWrappersOrBuilder(int index)

public CreativeWrapperOrBuilder getCreativeWrappersOrBuilder(int index)

The CreativeWrapper objects from the specified network.

repeated .google.ads.admanager.v1.CreativeWrapper creative_wrappers = 1;

Parameter
Name Description
index int
Returns
Type Description
CreativeWrapperOrBuilder

getCreativeWrappersOrBuilderList()

public List<? extends CreativeWrapperOrBuilder> getCreativeWrappersOrBuilderList()

The CreativeWrapper objects from the specified network.

repeated .google.ads.admanager.v1.CreativeWrapper creative_wrappers = 1;

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

getDefaultInstanceForType()

public ListCreativeWrappersResponse getDefaultInstanceForType()
Returns
Type Description
ListCreativeWrappersResponse

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 CreativeWrapper 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(ListCreativeWrappersResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeCreativeWrappers(int index)

public ListCreativeWrappersResponse.Builder removeCreativeWrappers(int index)

The CreativeWrapper objects from the specified network.

repeated .google.ads.admanager.v1.CreativeWrapper creative_wrappers = 1;

Parameter
Name Description
index int
Returns
Type Description
ListCreativeWrappersResponse.Builder

setCreativeWrappers(int index, CreativeWrapper value)

public ListCreativeWrappersResponse.Builder setCreativeWrappers(int index, CreativeWrapper value)

The CreativeWrapper objects from the specified network.

repeated .google.ads.admanager.v1.CreativeWrapper creative_wrappers = 1;

Parameters
Name Description
index int
value CreativeWrapper
Returns
Type Description
ListCreativeWrappersResponse.Builder

setCreativeWrappers(int index, CreativeWrapper.Builder builderForValue)

public ListCreativeWrappersResponse.Builder setCreativeWrappers(int index, CreativeWrapper.Builder builderForValue)

The CreativeWrapper objects from the specified network.

repeated .google.ads.admanager.v1.CreativeWrapper creative_wrappers = 1;

Parameters
Name Description
index int
builderForValue CreativeWrapper.Builder
Returns
Type Description
ListCreativeWrappersResponse.Builder

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

setTotalSize(int value)

public ListCreativeWrappersResponse.Builder setTotalSize(int value)

Total number of CreativeWrapper 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
ListCreativeWrappersResponse.Builder

This builder for chaining.