public static final class ListPrivateAuctionsResponse.Builder extends GeneratedMessageV3.Builder<ListPrivateAuctionsResponse.Builder> implements ListPrivateAuctionsResponseOrBuilder
Response object for ListPrivateAuctionsRequest
containing
matching PrivateAuction
objects.
Protobuf type google.ads.admanager.v1.ListPrivateAuctionsResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListPrivateAuctionsResponse.BuilderImplements
ListPrivateAuctionsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllPrivateAuctions(Iterable<? extends PrivateAuction> values)
public ListPrivateAuctionsResponse.Builder addAllPrivateAuctions(Iterable<? extends PrivateAuction> values)
The PrivateAuction
objects from the specified network.
repeated .google.ads.admanager.v1.PrivateAuction private_auctions = 1;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.ads.admanager.v1.PrivateAuction> |
Returns | |
---|---|
Type | Description |
ListPrivateAuctionsResponse.Builder |
addPrivateAuctions(PrivateAuction value)
public ListPrivateAuctionsResponse.Builder addPrivateAuctions(PrivateAuction value)
The PrivateAuction
objects from the specified network.
repeated .google.ads.admanager.v1.PrivateAuction private_auctions = 1;
Parameter | |
---|---|
Name | Description |
value |
PrivateAuction |
Returns | |
---|---|
Type | Description |
ListPrivateAuctionsResponse.Builder |
addPrivateAuctions(PrivateAuction.Builder builderForValue)
public ListPrivateAuctionsResponse.Builder addPrivateAuctions(PrivateAuction.Builder builderForValue)
The PrivateAuction
objects from the specified network.
repeated .google.ads.admanager.v1.PrivateAuction private_auctions = 1;
Parameter | |
---|---|
Name | Description |
builderForValue |
PrivateAuction.Builder |
Returns | |
---|---|
Type | Description |
ListPrivateAuctionsResponse.Builder |
addPrivateAuctions(int index, PrivateAuction value)
public ListPrivateAuctionsResponse.Builder addPrivateAuctions(int index, PrivateAuction value)
The PrivateAuction
objects from the specified network.
repeated .google.ads.admanager.v1.PrivateAuction private_auctions = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
PrivateAuction |
Returns | |
---|---|
Type | Description |
ListPrivateAuctionsResponse.Builder |
addPrivateAuctions(int index, PrivateAuction.Builder builderForValue)
public ListPrivateAuctionsResponse.Builder addPrivateAuctions(int index, PrivateAuction.Builder builderForValue)
The PrivateAuction
objects from the specified network.
repeated .google.ads.admanager.v1.PrivateAuction private_auctions = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
PrivateAuction.Builder |
Returns | |
---|---|
Type | Description |
ListPrivateAuctionsResponse.Builder |
addPrivateAuctionsBuilder()
public PrivateAuction.Builder addPrivateAuctionsBuilder()
The PrivateAuction
objects from the specified network.
repeated .google.ads.admanager.v1.PrivateAuction private_auctions = 1;
Returns | |
---|---|
Type | Description |
PrivateAuction.Builder |
addPrivateAuctionsBuilder(int index)
public PrivateAuction.Builder addPrivateAuctionsBuilder(int index)
The PrivateAuction
objects from the specified network.
repeated .google.ads.admanager.v1.PrivateAuction private_auctions = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
PrivateAuction.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListPrivateAuctionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ListPrivateAuctionsResponse.Builder |
build()
public ListPrivateAuctionsResponse build()
Returns | |
---|---|
Type | Description |
ListPrivateAuctionsResponse |
buildPartial()
public ListPrivateAuctionsResponse buildPartial()
Returns | |
---|---|
Type | Description |
ListPrivateAuctionsResponse |
clear()
public ListPrivateAuctionsResponse.Builder clear()
Returns | |
---|---|
Type | Description |
ListPrivateAuctionsResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListPrivateAuctionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ListPrivateAuctionsResponse.Builder |
clearNextPageToken()
public ListPrivateAuctionsResponse.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 |
ListPrivateAuctionsResponse.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListPrivateAuctionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ListPrivateAuctionsResponse.Builder |
clearPrivateAuctions()
public ListPrivateAuctionsResponse.Builder clearPrivateAuctions()
The PrivateAuction
objects from the specified network.
repeated .google.ads.admanager.v1.PrivateAuction private_auctions = 1;
Returns | |
---|---|
Type | Description |
ListPrivateAuctionsResponse.Builder |
clearTotalSize()
public ListPrivateAuctionsResponse.Builder clearTotalSize()
Total number of PrivateAuction
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 |
ListPrivateAuctionsResponse.Builder |
This builder for chaining. |
clone()
public ListPrivateAuctionsResponse.Builder clone()
Returns | |
---|---|
Type | Description |
ListPrivateAuctionsResponse.Builder |
getDefaultInstanceForType()
public ListPrivateAuctionsResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ListPrivateAuctionsResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
getPrivateAuctions(int index)
public PrivateAuction getPrivateAuctions(int index)
The PrivateAuction
objects from the specified network.
repeated .google.ads.admanager.v1.PrivateAuction private_auctions = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
PrivateAuction |
getPrivateAuctionsBuilder(int index)
public PrivateAuction.Builder getPrivateAuctionsBuilder(int index)
The PrivateAuction
objects from the specified network.
repeated .google.ads.admanager.v1.PrivateAuction private_auctions = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
PrivateAuction.Builder |
getPrivateAuctionsBuilderList()
public List<PrivateAuction.Builder> getPrivateAuctionsBuilderList()
The PrivateAuction
objects from the specified network.
repeated .google.ads.admanager.v1.PrivateAuction private_auctions = 1;
Returns | |
---|---|
Type | Description |
List<Builder> |
getPrivateAuctionsCount()
public int getPrivateAuctionsCount()
The PrivateAuction
objects from the specified network.
repeated .google.ads.admanager.v1.PrivateAuction private_auctions = 1;
Returns | |
---|---|
Type | Description |
int |
getPrivateAuctionsList()
public List<PrivateAuction> getPrivateAuctionsList()
The PrivateAuction
objects from the specified network.
repeated .google.ads.admanager.v1.PrivateAuction private_auctions = 1;
Returns | |
---|---|
Type | Description |
List<PrivateAuction> |
getPrivateAuctionsOrBuilder(int index)
public PrivateAuctionOrBuilder getPrivateAuctionsOrBuilder(int index)
The PrivateAuction
objects from the specified network.
repeated .google.ads.admanager.v1.PrivateAuction private_auctions = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
PrivateAuctionOrBuilder |
getPrivateAuctionsOrBuilderList()
public List<? extends PrivateAuctionOrBuilder> getPrivateAuctionsOrBuilderList()
The PrivateAuction
objects from the specified network.
repeated .google.ads.admanager.v1.PrivateAuction private_auctions = 1;
Returns | |
---|---|
Type | Description |
List<? extends com.google.ads.admanager.v1.PrivateAuctionOrBuilder> |
getTotalSize()
public int getTotalSize()
Total number of PrivateAuction
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ListPrivateAuctionsResponse other)
public ListPrivateAuctionsResponse.Builder mergeFrom(ListPrivateAuctionsResponse other)
Parameter | |
---|---|
Name | Description |
other |
ListPrivateAuctionsResponse |
Returns | |
---|---|
Type | Description |
ListPrivateAuctionsResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListPrivateAuctionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListPrivateAuctionsResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ListPrivateAuctionsResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ListPrivateAuctionsResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListPrivateAuctionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListPrivateAuctionsResponse.Builder |
removePrivateAuctions(int index)
public ListPrivateAuctionsResponse.Builder removePrivateAuctions(int index)
The PrivateAuction
objects from the specified network.
repeated .google.ads.admanager.v1.PrivateAuction private_auctions = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ListPrivateAuctionsResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListPrivateAuctionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ListPrivateAuctionsResponse.Builder |
setNextPageToken(String value)
public ListPrivateAuctionsResponse.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 |
ListPrivateAuctionsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListPrivateAuctionsResponse.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 |
ListPrivateAuctionsResponse.Builder |
This builder for chaining. |
setPrivateAuctions(int index, PrivateAuction value)
public ListPrivateAuctionsResponse.Builder setPrivateAuctions(int index, PrivateAuction value)
The PrivateAuction
objects from the specified network.
repeated .google.ads.admanager.v1.PrivateAuction private_auctions = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
PrivateAuction |
Returns | |
---|---|
Type | Description |
ListPrivateAuctionsResponse.Builder |
setPrivateAuctions(int index, PrivateAuction.Builder builderForValue)
public ListPrivateAuctionsResponse.Builder setPrivateAuctions(int index, PrivateAuction.Builder builderForValue)
The PrivateAuction
objects from the specified network.
repeated .google.ads.admanager.v1.PrivateAuction private_auctions = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
PrivateAuction.Builder |
Returns | |
---|---|
Type | Description |
ListPrivateAuctionsResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListPrivateAuctionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ListPrivateAuctionsResponse.Builder |
setTotalSize(int value)
public ListPrivateAuctionsResponse.Builder setTotalSize(int value)
Total number of PrivateAuction
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 |
ListPrivateAuctionsResponse.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListPrivateAuctionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListPrivateAuctionsResponse.Builder |