Class BatchUpdateProposalsResponse.Builder (0.62.0)

public static final class BatchUpdateProposalsResponse.Builder extends GeneratedMessage.Builder<BatchUpdateProposalsResponse.Builder> implements BatchUpdateProposalsResponseOrBuilder

Response object for BatchUpdateProposals method.

Protobuf type google.ads.admanager.v1.BatchUpdateProposalsResponse

Static Methods

getDescriptor()

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

Methods

addAllProposals(Iterable<? extends Proposal> values)

public BatchUpdateProposalsResponse.Builder addAllProposals(Iterable<? extends Proposal> values)

The Proposal objects updated.

repeated .google.ads.admanager.v1.Proposal proposals = 1;

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

addProposals(Proposal value)

public BatchUpdateProposalsResponse.Builder addProposals(Proposal value)

The Proposal objects updated.

repeated .google.ads.admanager.v1.Proposal proposals = 1;

Parameter
Name Description
value Proposal
Returns
Type Description
BatchUpdateProposalsResponse.Builder

addProposals(Proposal.Builder builderForValue)

public BatchUpdateProposalsResponse.Builder addProposals(Proposal.Builder builderForValue)

The Proposal objects updated.

repeated .google.ads.admanager.v1.Proposal proposals = 1;

Parameter
Name Description
builderForValue Proposal.Builder
Returns
Type Description
BatchUpdateProposalsResponse.Builder

addProposals(int index, Proposal value)

public BatchUpdateProposalsResponse.Builder addProposals(int index, Proposal value)

The Proposal objects updated.

repeated .google.ads.admanager.v1.Proposal proposals = 1;

Parameters
Name Description
index int
value Proposal
Returns
Type Description
BatchUpdateProposalsResponse.Builder

addProposals(int index, Proposal.Builder builderForValue)

public BatchUpdateProposalsResponse.Builder addProposals(int index, Proposal.Builder builderForValue)

The Proposal objects updated.

repeated .google.ads.admanager.v1.Proposal proposals = 1;

Parameters
Name Description
index int
builderForValue Proposal.Builder
Returns
Type Description
BatchUpdateProposalsResponse.Builder

addProposalsBuilder()

public Proposal.Builder addProposalsBuilder()

The Proposal objects updated.

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 updated.

repeated .google.ads.admanager.v1.Proposal proposals = 1;

Parameter
Name Description
index int
Returns
Type Description
Proposal.Builder

build()

public BatchUpdateProposalsResponse build()
Returns
Type Description
BatchUpdateProposalsResponse

buildPartial()

public BatchUpdateProposalsResponse buildPartial()
Returns
Type Description
BatchUpdateProposalsResponse

clear()

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

clearProposals()

public BatchUpdateProposalsResponse.Builder clearProposals()

The Proposal objects updated.

repeated .google.ads.admanager.v1.Proposal proposals = 1;

Returns
Type Description
BatchUpdateProposalsResponse.Builder

getDefaultInstanceForType()

public BatchUpdateProposalsResponse getDefaultInstanceForType()
Returns
Type Description
BatchUpdateProposalsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getProposals(int index)

public Proposal getProposals(int index)

The Proposal objects updated.

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 updated.

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 updated.

repeated .google.ads.admanager.v1.Proposal proposals = 1;

Returns
Type Description
List<Builder>

getProposalsCount()

public int getProposalsCount()

The Proposal objects updated.

repeated .google.ads.admanager.v1.Proposal proposals = 1;

Returns
Type Description
int

getProposalsList()

public List<Proposal> getProposalsList()

The Proposal objects updated.

repeated .google.ads.admanager.v1.Proposal proposals = 1;

Returns
Type Description
List<Proposal>

getProposalsOrBuilder(int index)

public ProposalOrBuilder getProposalsOrBuilder(int index)

The Proposal objects updated.

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 updated.

repeated .google.ads.admanager.v1.Proposal proposals = 1;

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

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchUpdateProposalsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeProposals(int index)

public BatchUpdateProposalsResponse.Builder removeProposals(int index)

The Proposal objects updated.

repeated .google.ads.admanager.v1.Proposal proposals = 1;

Parameter
Name Description
index int
Returns
Type Description
BatchUpdateProposalsResponse.Builder

setProposals(int index, Proposal value)

public BatchUpdateProposalsResponse.Builder setProposals(int index, Proposal value)

The Proposal objects updated.

repeated .google.ads.admanager.v1.Proposal proposals = 1;

Parameters
Name Description
index int
value Proposal
Returns
Type Description
BatchUpdateProposalsResponse.Builder

setProposals(int index, Proposal.Builder builderForValue)

public BatchUpdateProposalsResponse.Builder setProposals(int index, Proposal.Builder builderForValue)

The Proposal objects updated.

repeated .google.ads.admanager.v1.Proposal proposals = 1;

Parameters
Name Description
index int
builderForValue Proposal.Builder
Returns
Type Description
BatchUpdateProposalsResponse.Builder