Class ListCdnConfigsResponse.Builder (0.54.0)

public static final class ListCdnConfigsResponse.Builder extends GeneratedMessage.Builder<ListCdnConfigsResponse.Builder> implements ListCdnConfigsResponseOrBuilder

Response object for ListCdnConfigsRequest containing matching CdnConfig objects.

Protobuf type google.ads.admanager.v1.ListCdnConfigsResponse

Static Methods

getDescriptor()

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

Methods

addAllCdnConfigs(Iterable<? extends CdnConfig> values)

public ListCdnConfigsResponse.Builder addAllCdnConfigs(Iterable<? extends CdnConfig> values)

The CdnConfig objects from the specified network.

repeated .google.ads.admanager.v1.CdnConfig cdn_configs = 1;

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

addCdnConfigs(CdnConfig value)

public ListCdnConfigsResponse.Builder addCdnConfigs(CdnConfig value)

The CdnConfig objects from the specified network.

repeated .google.ads.admanager.v1.CdnConfig cdn_configs = 1;

Parameter
Name Description
value CdnConfig
Returns
Type Description
ListCdnConfigsResponse.Builder

addCdnConfigs(CdnConfig.Builder builderForValue)

public ListCdnConfigsResponse.Builder addCdnConfigs(CdnConfig.Builder builderForValue)

The CdnConfig objects from the specified network.

repeated .google.ads.admanager.v1.CdnConfig cdn_configs = 1;

Parameter
Name Description
builderForValue CdnConfig.Builder
Returns
Type Description
ListCdnConfigsResponse.Builder

addCdnConfigs(int index, CdnConfig value)

public ListCdnConfigsResponse.Builder addCdnConfigs(int index, CdnConfig value)

The CdnConfig objects from the specified network.

repeated .google.ads.admanager.v1.CdnConfig cdn_configs = 1;

Parameters
Name Description
index int
value CdnConfig
Returns
Type Description
ListCdnConfigsResponse.Builder

addCdnConfigs(int index, CdnConfig.Builder builderForValue)

public ListCdnConfigsResponse.Builder addCdnConfigs(int index, CdnConfig.Builder builderForValue)

The CdnConfig objects from the specified network.

repeated .google.ads.admanager.v1.CdnConfig cdn_configs = 1;

Parameters
Name Description
index int
builderForValue CdnConfig.Builder
Returns
Type Description
ListCdnConfigsResponse.Builder

addCdnConfigsBuilder()

public CdnConfig.Builder addCdnConfigsBuilder()

The CdnConfig objects from the specified network.

repeated .google.ads.admanager.v1.CdnConfig cdn_configs = 1;

Returns
Type Description
CdnConfig.Builder

addCdnConfigsBuilder(int index)

public CdnConfig.Builder addCdnConfigsBuilder(int index)

The CdnConfig objects from the specified network.

repeated .google.ads.admanager.v1.CdnConfig cdn_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
CdnConfig.Builder

build()

public ListCdnConfigsResponse build()
Returns
Type Description
ListCdnConfigsResponse

buildPartial()

public ListCdnConfigsResponse buildPartial()
Returns
Type Description
ListCdnConfigsResponse

clear()

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

clearCdnConfigs()

public ListCdnConfigsResponse.Builder clearCdnConfigs()

The CdnConfig objects from the specified network.

repeated .google.ads.admanager.v1.CdnConfig cdn_configs = 1;

Returns
Type Description
ListCdnConfigsResponse.Builder

clearNextPageToken()

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

This builder for chaining.

clearTotalSize()

public ListCdnConfigsResponse.Builder clearTotalSize()

Total number of CdnConfig 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
ListCdnConfigsResponse.Builder

This builder for chaining.

getCdnConfigs(int index)

public CdnConfig getCdnConfigs(int index)

The CdnConfig objects from the specified network.

repeated .google.ads.admanager.v1.CdnConfig cdn_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
CdnConfig

getCdnConfigsBuilder(int index)

public CdnConfig.Builder getCdnConfigsBuilder(int index)

The CdnConfig objects from the specified network.

repeated .google.ads.admanager.v1.CdnConfig cdn_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
CdnConfig.Builder

getCdnConfigsBuilderList()

public List<CdnConfig.Builder> getCdnConfigsBuilderList()

The CdnConfig objects from the specified network.

repeated .google.ads.admanager.v1.CdnConfig cdn_configs = 1;

Returns
Type Description
List<Builder>

getCdnConfigsCount()

public int getCdnConfigsCount()

The CdnConfig objects from the specified network.

repeated .google.ads.admanager.v1.CdnConfig cdn_configs = 1;

Returns
Type Description
int

getCdnConfigsList()

public List<CdnConfig> getCdnConfigsList()

The CdnConfig objects from the specified network.

repeated .google.ads.admanager.v1.CdnConfig cdn_configs = 1;

Returns
Type Description
List<CdnConfig>

getCdnConfigsOrBuilder(int index)

public CdnConfigOrBuilder getCdnConfigsOrBuilder(int index)

The CdnConfig objects from the specified network.

repeated .google.ads.admanager.v1.CdnConfig cdn_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
CdnConfigOrBuilder

getCdnConfigsOrBuilderList()

public List<? extends CdnConfigOrBuilder> getCdnConfigsOrBuilderList()

The CdnConfig objects from the specified network.

repeated .google.ads.admanager.v1.CdnConfig cdn_configs = 1;

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

getDefaultInstanceForType()

public ListCdnConfigsResponse getDefaultInstanceForType()
Returns
Type Description
ListCdnConfigsResponse

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 CdnConfig 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(ListCdnConfigsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeCdnConfigs(int index)

public ListCdnConfigsResponse.Builder removeCdnConfigs(int index)

The CdnConfig objects from the specified network.

repeated .google.ads.admanager.v1.CdnConfig cdn_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
ListCdnConfigsResponse.Builder

setCdnConfigs(int index, CdnConfig value)

public ListCdnConfigsResponse.Builder setCdnConfigs(int index, CdnConfig value)

The CdnConfig objects from the specified network.

repeated .google.ads.admanager.v1.CdnConfig cdn_configs = 1;

Parameters
Name Description
index int
value CdnConfig
Returns
Type Description
ListCdnConfigsResponse.Builder

setCdnConfigs(int index, CdnConfig.Builder builderForValue)

public ListCdnConfigsResponse.Builder setCdnConfigs(int index, CdnConfig.Builder builderForValue)

The CdnConfig objects from the specified network.

repeated .google.ads.admanager.v1.CdnConfig cdn_configs = 1;

Parameters
Name Description
index int
builderForValue CdnConfig.Builder
Returns
Type Description
ListCdnConfigsResponse.Builder

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

setTotalSize(int value)

public ListCdnConfigsResponse.Builder setTotalSize(int value)

Total number of CdnConfig 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
ListCdnConfigsResponse.Builder

This builder for chaining.