Class BatchCreateProposalsResponse.Builder (0.62.0)

public static final class BatchCreateProposalsResponse.Builder extends GeneratedMessage.Builder<BatchCreateProposalsResponse.Builder> implements BatchCreateProposalsResponseOrBuilder

Response object for BatchCreateProposals method.

Protobuf type google.ads.admanager.v1.BatchCreateProposalsResponse

Static Methods

getDescriptor()

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

Methods

addAllProposals(Iterable<? extends Proposal> values)

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

The Proposal objects created.

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

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

addProposals(Proposal value)

public BatchCreateProposalsResponse.Builder addProposals(Proposal value)

The Proposal objects created.

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

Parameter
Name Description
value Proposal
Returns
Type Description
BatchCreateProposalsResponse.Builder

addProposals(Proposal.Builder builderForValue)

public BatchCreateProposalsResponse.Builder addProposals(Proposal.Builder builderForValue)

The Proposal objects created.

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

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

addProposals(int index, Proposal value)

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

The Proposal objects created.

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

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

addProposals(int index, Proposal.Builder builderForValue)

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

The Proposal objects created.

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

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

addProposalsBuilder()

public Proposal.Builder addProposalsBuilder()

The Proposal objects created.

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

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

Parameter
Name Description
index int
Returns
Type Description
Proposal.Builder

build()

public BatchCreateProposalsResponse build()
Returns
Type Description
BatchCreateProposalsResponse

buildPartial()

public BatchCreateProposalsResponse buildPartial()
Returns
Type Description
BatchCreateProposalsResponse

clear()

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

clearProposals()

public BatchCreateProposalsResponse.Builder clearProposals()

The Proposal objects created.

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

Returns
Type Description
BatchCreateProposalsResponse.Builder

getDefaultInstanceForType()

public BatchCreateProposalsResponse getDefaultInstanceForType()
Returns
Type Description
BatchCreateProposalsResponse

getDescriptorForType()

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

getProposals(int index)

public Proposal getProposals(int index)

The Proposal objects created.

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

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

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

Returns
Type Description
List<Builder>

getProposalsCount()

public int getProposalsCount()

The Proposal objects created.

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

Returns
Type Description
int

getProposalsList()

public List<Proposal> getProposalsList()

The Proposal objects created.

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

Returns
Type Description
List<Proposal>

getProposalsOrBuilder(int index)

public ProposalOrBuilder getProposalsOrBuilder(int index)

The Proposal objects created.

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

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(BatchCreateProposalsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeProposals(int index)

public BatchCreateProposalsResponse.Builder removeProposals(int index)

The Proposal objects created.

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

Parameter
Name Description
index int
Returns
Type Description
BatchCreateProposalsResponse.Builder

setProposals(int index, Proposal value)

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

The Proposal objects created.

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

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

setProposals(int index, Proposal.Builder builderForValue)

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

The Proposal objects created.

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

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