Class ListPrivateAuctionDealsResponse.Builder (0.27.0)

public static final class ListPrivateAuctionDealsResponse.Builder extends GeneratedMessageV3.Builder<ListPrivateAuctionDealsResponse.Builder> implements ListPrivateAuctionDealsResponseOrBuilder

Response object for ListPrivateAuctionDealsRequest containing matching PrivateAuctionDeal objects.

Protobuf type google.ads.admanager.v1.ListPrivateAuctionDealsResponse

Static Methods

getDescriptor()

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

Methods

addAllPrivateAuctionDeals(Iterable<? extends PrivateAuctionDeal> values)

public ListPrivateAuctionDealsResponse.Builder addAllPrivateAuctionDeals(Iterable<? extends PrivateAuctionDeal> values)

The PrivateAuctionDeal objects from the specified network.

repeated .google.ads.admanager.v1.PrivateAuctionDeal private_auction_deals = 1;

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

addPrivateAuctionDeals(PrivateAuctionDeal value)

public ListPrivateAuctionDealsResponse.Builder addPrivateAuctionDeals(PrivateAuctionDeal value)

The PrivateAuctionDeal objects from the specified network.

repeated .google.ads.admanager.v1.PrivateAuctionDeal private_auction_deals = 1;

Parameter
Name Description
value PrivateAuctionDeal
Returns
Type Description
ListPrivateAuctionDealsResponse.Builder

addPrivateAuctionDeals(PrivateAuctionDeal.Builder builderForValue)

public ListPrivateAuctionDealsResponse.Builder addPrivateAuctionDeals(PrivateAuctionDeal.Builder builderForValue)

The PrivateAuctionDeal objects from the specified network.

repeated .google.ads.admanager.v1.PrivateAuctionDeal private_auction_deals = 1;

Parameter
Name Description
builderForValue PrivateAuctionDeal.Builder
Returns
Type Description
ListPrivateAuctionDealsResponse.Builder

addPrivateAuctionDeals(int index, PrivateAuctionDeal value)

public ListPrivateAuctionDealsResponse.Builder addPrivateAuctionDeals(int index, PrivateAuctionDeal value)

The PrivateAuctionDeal objects from the specified network.

repeated .google.ads.admanager.v1.PrivateAuctionDeal private_auction_deals = 1;

Parameters
Name Description
index int
value PrivateAuctionDeal
Returns
Type Description
ListPrivateAuctionDealsResponse.Builder

addPrivateAuctionDeals(int index, PrivateAuctionDeal.Builder builderForValue)

public ListPrivateAuctionDealsResponse.Builder addPrivateAuctionDeals(int index, PrivateAuctionDeal.Builder builderForValue)

The PrivateAuctionDeal objects from the specified network.

repeated .google.ads.admanager.v1.PrivateAuctionDeal private_auction_deals = 1;

Parameters
Name Description
index int
builderForValue PrivateAuctionDeal.Builder
Returns
Type Description
ListPrivateAuctionDealsResponse.Builder

addPrivateAuctionDealsBuilder()

public PrivateAuctionDeal.Builder addPrivateAuctionDealsBuilder()

The PrivateAuctionDeal objects from the specified network.

repeated .google.ads.admanager.v1.PrivateAuctionDeal private_auction_deals = 1;

Returns
Type Description
PrivateAuctionDeal.Builder

addPrivateAuctionDealsBuilder(int index)

public PrivateAuctionDeal.Builder addPrivateAuctionDealsBuilder(int index)

The PrivateAuctionDeal objects from the specified network.

repeated .google.ads.admanager.v1.PrivateAuctionDeal private_auction_deals = 1;

Parameter
Name Description
index int
Returns
Type Description
PrivateAuctionDeal.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListPrivateAuctionDealsResponse build()
Returns
Type Description
ListPrivateAuctionDealsResponse

buildPartial()

public ListPrivateAuctionDealsResponse buildPartial()
Returns
Type Description
ListPrivateAuctionDealsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPrivateAuctionDeals()

public ListPrivateAuctionDealsResponse.Builder clearPrivateAuctionDeals()

The PrivateAuctionDeal objects from the specified network.

repeated .google.ads.admanager.v1.PrivateAuctionDeal private_auction_deals = 1;

Returns
Type Description
ListPrivateAuctionDealsResponse.Builder

clearTotalSize()

public ListPrivateAuctionDealsResponse.Builder clearTotalSize()

Total number of PrivateAuctionDeal 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
ListPrivateAuctionDealsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListPrivateAuctionDealsResponse getDefaultInstanceForType()
Returns
Type Description
ListPrivateAuctionDealsResponse

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.

getPrivateAuctionDeals(int index)

public PrivateAuctionDeal getPrivateAuctionDeals(int index)

The PrivateAuctionDeal objects from the specified network.

repeated .google.ads.admanager.v1.PrivateAuctionDeal private_auction_deals = 1;

Parameter
Name Description
index int
Returns
Type Description
PrivateAuctionDeal

getPrivateAuctionDealsBuilder(int index)

public PrivateAuctionDeal.Builder getPrivateAuctionDealsBuilder(int index)

The PrivateAuctionDeal objects from the specified network.

repeated .google.ads.admanager.v1.PrivateAuctionDeal private_auction_deals = 1;

Parameter
Name Description
index int
Returns
Type Description
PrivateAuctionDeal.Builder

getPrivateAuctionDealsBuilderList()

public List<PrivateAuctionDeal.Builder> getPrivateAuctionDealsBuilderList()

The PrivateAuctionDeal objects from the specified network.

repeated .google.ads.admanager.v1.PrivateAuctionDeal private_auction_deals = 1;

Returns
Type Description
List<Builder>

getPrivateAuctionDealsCount()

public int getPrivateAuctionDealsCount()

The PrivateAuctionDeal objects from the specified network.

repeated .google.ads.admanager.v1.PrivateAuctionDeal private_auction_deals = 1;

Returns
Type Description
int

getPrivateAuctionDealsList()

public List<PrivateAuctionDeal> getPrivateAuctionDealsList()

The PrivateAuctionDeal objects from the specified network.

repeated .google.ads.admanager.v1.PrivateAuctionDeal private_auction_deals = 1;

Returns
Type Description
List<PrivateAuctionDeal>

getPrivateAuctionDealsOrBuilder(int index)

public PrivateAuctionDealOrBuilder getPrivateAuctionDealsOrBuilder(int index)

The PrivateAuctionDeal objects from the specified network.

repeated .google.ads.admanager.v1.PrivateAuctionDeal private_auction_deals = 1;

Parameter
Name Description
index int
Returns
Type Description
PrivateAuctionDealOrBuilder

getPrivateAuctionDealsOrBuilderList()

public List<? extends PrivateAuctionDealOrBuilder> getPrivateAuctionDealsOrBuilderList()

The PrivateAuctionDeal objects from the specified network.

repeated .google.ads.admanager.v1.PrivateAuctionDeal private_auction_deals = 1;

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

getTotalSize()

public int getTotalSize()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListPrivateAuctionDealsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removePrivateAuctionDeals(int index)

public ListPrivateAuctionDealsResponse.Builder removePrivateAuctionDeals(int index)

The PrivateAuctionDeal objects from the specified network.

repeated .google.ads.admanager.v1.PrivateAuctionDeal private_auction_deals = 1;

Parameter
Name Description
index int
Returns
Type Description
ListPrivateAuctionDealsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

setPrivateAuctionDeals(int index, PrivateAuctionDeal value)

public ListPrivateAuctionDealsResponse.Builder setPrivateAuctionDeals(int index, PrivateAuctionDeal value)

The PrivateAuctionDeal objects from the specified network.

repeated .google.ads.admanager.v1.PrivateAuctionDeal private_auction_deals = 1;

Parameters
Name Description
index int
value PrivateAuctionDeal
Returns
Type Description
ListPrivateAuctionDealsResponse.Builder

setPrivateAuctionDeals(int index, PrivateAuctionDeal.Builder builderForValue)

public ListPrivateAuctionDealsResponse.Builder setPrivateAuctionDeals(int index, PrivateAuctionDeal.Builder builderForValue)

The PrivateAuctionDeal objects from the specified network.

repeated .google.ads.admanager.v1.PrivateAuctionDeal private_auction_deals = 1;

Parameters
Name Description
index int
builderForValue PrivateAuctionDeal.Builder
Returns
Type Description
ListPrivateAuctionDealsResponse.Builder

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

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

setTotalSize(int value)

public ListPrivateAuctionDealsResponse.Builder setTotalSize(int value)

Total number of PrivateAuctionDeal 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
ListPrivateAuctionDealsResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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