public static final class ListProposalsResponse.Builder extends GeneratedMessage.Builder<ListProposalsResponse.Builder> implements ListProposalsResponseOrBuilder Response object for ListProposalsRequest containing matching Proposal
objects.
Protobuf type google.ads.admanager.v1.ListProposalsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListProposalsResponse.BuilderImplements
ListProposalsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllProposals(Iterable<? extends Proposal> values)
public ListProposalsResponse.Builder addAllProposals(Iterable<? extends Proposal> values) The Proposal objects from the specified network.
repeated .google.ads.admanager.v1.Proposal proposals = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.ads.admanager.v1.Proposal> |
| Returns | |
|---|---|
| Type | Description |
ListProposalsResponse.Builder |
|
addProposals(Proposal value)
public ListProposalsResponse.Builder addProposals(Proposal value) The Proposal objects from the specified network.
repeated .google.ads.admanager.v1.Proposal proposals = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Proposal |
| Returns | |
|---|---|
| Type | Description |
ListProposalsResponse.Builder |
|
addProposals(Proposal.Builder builderForValue)
public ListProposalsResponse.Builder addProposals(Proposal.Builder builderForValue) The Proposal objects from the specified network.
repeated .google.ads.admanager.v1.Proposal proposals = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Proposal.Builder |
| Returns | |
|---|---|
| Type | Description |
ListProposalsResponse.Builder |
|
addProposals(int index, Proposal value)
public ListProposalsResponse.Builder addProposals(int index, Proposal value) The Proposal objects from the specified network.
repeated .google.ads.admanager.v1.Proposal proposals = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Proposal |
| Returns | |
|---|---|
| Type | Description |
ListProposalsResponse.Builder |
|
addProposals(int index, Proposal.Builder builderForValue)
public ListProposalsResponse.Builder addProposals(int index, Proposal.Builder builderForValue) The Proposal objects from the specified network.
repeated .google.ads.admanager.v1.Proposal proposals = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Proposal.Builder |
| Returns | |
|---|---|
| Type | Description |
ListProposalsResponse.Builder |
|
addProposalsBuilder()
public Proposal.Builder addProposalsBuilder() The Proposal objects from the specified network.
repeated .google.ads.admanager.v1.Proposal proposals = 1;
| Returns | |
|---|---|
| Type | Description |
Proposal.Builder |
|
addProposalsBuilder(int index)
public Proposal.Builder addProposalsBuilder(int index) The Proposal objects from the specified network.
repeated .google.ads.admanager.v1.Proposal proposals = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Proposal.Builder |
|
build()
public ListProposalsResponse build()| Returns | |
|---|---|
| Type | Description |
ListProposalsResponse |
|
buildPartial()
public ListProposalsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListProposalsResponse |
|
clear()
public ListProposalsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListProposalsResponse.Builder |
|
clearNextPageToken()
public ListProposalsResponse.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 |
ListProposalsResponse.Builder |
This builder for chaining. |
clearProposals()
public ListProposalsResponse.Builder clearProposals() The Proposal objects from the specified network.
repeated .google.ads.admanager.v1.Proposal proposals = 1;
| Returns | |
|---|---|
| Type | Description |
ListProposalsResponse.Builder |
|
clearTotalSize()
public ListProposalsResponse.Builder clearTotalSize() Total number of Proposal 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 |
ListProposalsResponse.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ListProposalsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListProposalsResponse |
|
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. |
getProposals(int index)
public Proposal getProposals(int index) The Proposal objects from the specified network.
repeated .google.ads.admanager.v1.Proposal proposals = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Proposal |
|
getProposalsBuilder(int index)
public Proposal.Builder getProposalsBuilder(int index) The Proposal objects from the specified network.
repeated .google.ads.admanager.v1.Proposal proposals = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Proposal.Builder |
|
getProposalsBuilderList()
public List<Proposal.Builder> getProposalsBuilderList() The Proposal objects from the specified network.
repeated .google.ads.admanager.v1.Proposal proposals = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getProposalsCount()
public int getProposalsCount() The Proposal objects from the specified network.
repeated .google.ads.admanager.v1.Proposal proposals = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getProposalsList()
public List<Proposal> getProposalsList() The Proposal objects from the specified network.
repeated .google.ads.admanager.v1.Proposal proposals = 1;
| Returns | |
|---|---|
| Type | Description |
List<Proposal> |
|
getProposalsOrBuilder(int index)
public ProposalOrBuilder getProposalsOrBuilder(int index) The Proposal objects from the specified network.
repeated .google.ads.admanager.v1.Proposal proposals = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ProposalOrBuilder |
|
getProposalsOrBuilderList()
public List<? extends ProposalOrBuilder> getProposalsOrBuilderList() The Proposal objects from the specified network.
repeated .google.ads.admanager.v1.Proposal proposals = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.ads.admanager.v1.ProposalOrBuilder> |
|
getTotalSize()
public int getTotalSize() Total number of Proposal 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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListProposalsResponse other)
public ListProposalsResponse.Builder mergeFrom(ListProposalsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListProposalsResponse |
| Returns | |
|---|---|
| Type | Description |
ListProposalsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListProposalsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListProposalsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListProposalsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListProposalsResponse.Builder |
|
removeProposals(int index)
public ListProposalsResponse.Builder removeProposals(int index) The Proposal objects from the specified network.
repeated .google.ads.admanager.v1.Proposal proposals = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListProposalsResponse.Builder |
|
setNextPageToken(String value)
public ListProposalsResponse.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 |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListProposalsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListProposalsResponse.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 |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListProposalsResponse.Builder |
This builder for chaining. |
setProposals(int index, Proposal value)
public ListProposalsResponse.Builder setProposals(int index, Proposal value) The Proposal objects from the specified network.
repeated .google.ads.admanager.v1.Proposal proposals = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Proposal |
| Returns | |
|---|---|
| Type | Description |
ListProposalsResponse.Builder |
|
setProposals(int index, Proposal.Builder builderForValue)
public ListProposalsResponse.Builder setProposals(int index, Proposal.Builder builderForValue) The Proposal objects from the specified network.
repeated .google.ads.admanager.v1.Proposal proposals = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Proposal.Builder |
| Returns | |
|---|---|
| Type | Description |
ListProposalsResponse.Builder |
|
setTotalSize(int value)
public ListProposalsResponse.Builder setTotalSize(int value) Total number of Proposal 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 |
intThe totalSize to set. |
| Returns | |
|---|---|
| Type | Description |
ListProposalsResponse.Builder |
This builder for chaining. |