Class ListDaiEncodingProfilesResponse.Builder (0.58.0)

public static final class ListDaiEncodingProfilesResponse.Builder extends GeneratedMessage.Builder<ListDaiEncodingProfilesResponse.Builder> implements ListDaiEncodingProfilesResponseOrBuilder

Response object for ListDaiEncodingProfilesRequest containing matching DaiEncodingProfile objects.

Protobuf type google.ads.admanager.v1.ListDaiEncodingProfilesResponse

Static Methods

getDescriptor()

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

Methods

addAllDaiEncodingProfiles(Iterable<? extends DaiEncodingProfile> values)

public ListDaiEncodingProfilesResponse.Builder addAllDaiEncodingProfiles(Iterable<? extends DaiEncodingProfile> values)

The DaiEncodingProfile objects from the specified network.

repeated .google.ads.admanager.v1.DaiEncodingProfile dai_encoding_profiles = 1;

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

addDaiEncodingProfiles(DaiEncodingProfile value)

public ListDaiEncodingProfilesResponse.Builder addDaiEncodingProfiles(DaiEncodingProfile value)

The DaiEncodingProfile objects from the specified network.

repeated .google.ads.admanager.v1.DaiEncodingProfile dai_encoding_profiles = 1;

Parameter
Name Description
value DaiEncodingProfile
Returns
Type Description
ListDaiEncodingProfilesResponse.Builder

addDaiEncodingProfiles(DaiEncodingProfile.Builder builderForValue)

public ListDaiEncodingProfilesResponse.Builder addDaiEncodingProfiles(DaiEncodingProfile.Builder builderForValue)

The DaiEncodingProfile objects from the specified network.

repeated .google.ads.admanager.v1.DaiEncodingProfile dai_encoding_profiles = 1;

Parameter
Name Description
builderForValue DaiEncodingProfile.Builder
Returns
Type Description
ListDaiEncodingProfilesResponse.Builder

addDaiEncodingProfiles(int index, DaiEncodingProfile value)

public ListDaiEncodingProfilesResponse.Builder addDaiEncodingProfiles(int index, DaiEncodingProfile value)

The DaiEncodingProfile objects from the specified network.

repeated .google.ads.admanager.v1.DaiEncodingProfile dai_encoding_profiles = 1;

Parameters
Name Description
index int
value DaiEncodingProfile
Returns
Type Description
ListDaiEncodingProfilesResponse.Builder

addDaiEncodingProfiles(int index, DaiEncodingProfile.Builder builderForValue)

public ListDaiEncodingProfilesResponse.Builder addDaiEncodingProfiles(int index, DaiEncodingProfile.Builder builderForValue)

The DaiEncodingProfile objects from the specified network.

repeated .google.ads.admanager.v1.DaiEncodingProfile dai_encoding_profiles = 1;

Parameters
Name Description
index int
builderForValue DaiEncodingProfile.Builder
Returns
Type Description
ListDaiEncodingProfilesResponse.Builder

addDaiEncodingProfilesBuilder()

public DaiEncodingProfile.Builder addDaiEncodingProfilesBuilder()

The DaiEncodingProfile objects from the specified network.

repeated .google.ads.admanager.v1.DaiEncodingProfile dai_encoding_profiles = 1;

Returns
Type Description
DaiEncodingProfile.Builder

addDaiEncodingProfilesBuilder(int index)

public DaiEncodingProfile.Builder addDaiEncodingProfilesBuilder(int index)

The DaiEncodingProfile objects from the specified network.

repeated .google.ads.admanager.v1.DaiEncodingProfile dai_encoding_profiles = 1;

Parameter
Name Description
index int
Returns
Type Description
DaiEncodingProfile.Builder

build()

public ListDaiEncodingProfilesResponse build()
Returns
Type Description
ListDaiEncodingProfilesResponse

buildPartial()

public ListDaiEncodingProfilesResponse buildPartial()
Returns
Type Description
ListDaiEncodingProfilesResponse

clear()

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

clearDaiEncodingProfiles()

public ListDaiEncodingProfilesResponse.Builder clearDaiEncodingProfiles()

The DaiEncodingProfile objects from the specified network.

repeated .google.ads.admanager.v1.DaiEncodingProfile dai_encoding_profiles = 1;

Returns
Type Description
ListDaiEncodingProfilesResponse.Builder

clearNextPageToken()

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

This builder for chaining.

clearTotalSize()

public ListDaiEncodingProfilesResponse.Builder clearTotalSize()

Total number of DaiEncodingProfile 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
ListDaiEncodingProfilesResponse.Builder

This builder for chaining.

getDaiEncodingProfiles(int index)

public DaiEncodingProfile getDaiEncodingProfiles(int index)

The DaiEncodingProfile objects from the specified network.

repeated .google.ads.admanager.v1.DaiEncodingProfile dai_encoding_profiles = 1;

Parameter
Name Description
index int
Returns
Type Description
DaiEncodingProfile

getDaiEncodingProfilesBuilder(int index)

public DaiEncodingProfile.Builder getDaiEncodingProfilesBuilder(int index)

The DaiEncodingProfile objects from the specified network.

repeated .google.ads.admanager.v1.DaiEncodingProfile dai_encoding_profiles = 1;

Parameter
Name Description
index int
Returns
Type Description
DaiEncodingProfile.Builder

getDaiEncodingProfilesBuilderList()

public List<DaiEncodingProfile.Builder> getDaiEncodingProfilesBuilderList()

The DaiEncodingProfile objects from the specified network.

repeated .google.ads.admanager.v1.DaiEncodingProfile dai_encoding_profiles = 1;

Returns
Type Description
List<Builder>

getDaiEncodingProfilesCount()

public int getDaiEncodingProfilesCount()

The DaiEncodingProfile objects from the specified network.

repeated .google.ads.admanager.v1.DaiEncodingProfile dai_encoding_profiles = 1;

Returns
Type Description
int

getDaiEncodingProfilesList()

public List<DaiEncodingProfile> getDaiEncodingProfilesList()

The DaiEncodingProfile objects from the specified network.

repeated .google.ads.admanager.v1.DaiEncodingProfile dai_encoding_profiles = 1;

Returns
Type Description
List<DaiEncodingProfile>

getDaiEncodingProfilesOrBuilder(int index)

public DaiEncodingProfileOrBuilder getDaiEncodingProfilesOrBuilder(int index)

The DaiEncodingProfile objects from the specified network.

repeated .google.ads.admanager.v1.DaiEncodingProfile dai_encoding_profiles = 1;

Parameter
Name Description
index int
Returns
Type Description
DaiEncodingProfileOrBuilder

getDaiEncodingProfilesOrBuilderList()

public List<? extends DaiEncodingProfileOrBuilder> getDaiEncodingProfilesOrBuilderList()

The DaiEncodingProfile objects from the specified network.

repeated .google.ads.admanager.v1.DaiEncodingProfile dai_encoding_profiles = 1;

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

getDefaultInstanceForType()

public ListDaiEncodingProfilesResponse getDefaultInstanceForType()
Returns
Type Description
ListDaiEncodingProfilesResponse

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 DaiEncodingProfile 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListDaiEncodingProfilesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeDaiEncodingProfiles(int index)

public ListDaiEncodingProfilesResponse.Builder removeDaiEncodingProfiles(int index)

The DaiEncodingProfile objects from the specified network.

repeated .google.ads.admanager.v1.DaiEncodingProfile dai_encoding_profiles = 1;

Parameter
Name Description
index int
Returns
Type Description
ListDaiEncodingProfilesResponse.Builder

setDaiEncodingProfiles(int index, DaiEncodingProfile value)

public ListDaiEncodingProfilesResponse.Builder setDaiEncodingProfiles(int index, DaiEncodingProfile value)

The DaiEncodingProfile objects from the specified network.

repeated .google.ads.admanager.v1.DaiEncodingProfile dai_encoding_profiles = 1;

Parameters
Name Description
index int
value DaiEncodingProfile
Returns
Type Description
ListDaiEncodingProfilesResponse.Builder

setDaiEncodingProfiles(int index, DaiEncodingProfile.Builder builderForValue)

public ListDaiEncodingProfilesResponse.Builder setDaiEncodingProfiles(int index, DaiEncodingProfile.Builder builderForValue)

The DaiEncodingProfile objects from the specified network.

repeated .google.ads.admanager.v1.DaiEncodingProfile dai_encoding_profiles = 1;

Parameters
Name Description
index int
builderForValue DaiEncodingProfile.Builder
Returns
Type Description
ListDaiEncodingProfilesResponse.Builder

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

setTotalSize(int value)

public ListDaiEncodingProfilesResponse.Builder setTotalSize(int value)

Total number of DaiEncodingProfile 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
ListDaiEncodingProfilesResponse.Builder

This builder for chaining.