Class BatchUpdateProposalsRequest.Builder (0.62.0)

public static final class BatchUpdateProposalsRequest.Builder extends GeneratedMessage.Builder<BatchUpdateProposalsRequest.Builder> implements BatchUpdateProposalsRequestOrBuilder

Request object for BatchUpdateProposals method.

Protobuf type google.ads.admanager.v1.BatchUpdateProposalsRequest

Static Methods

getDescriptor()

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

Methods

addAllRequests(Iterable<? extends UpdateProposalRequest> values)

public BatchUpdateProposalsRequest.Builder addAllRequests(Iterable<? extends UpdateProposalRequest> values)

Required. The Proposal objects to update. A maximum of 100 objects can be updated in a batch.

repeated .google.ads.admanager.v1.UpdateProposalRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

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

addRequests(UpdateProposalRequest value)

public BatchUpdateProposalsRequest.Builder addRequests(UpdateProposalRequest value)

Required. The Proposal objects to update. A maximum of 100 objects can be updated in a batch.

repeated .google.ads.admanager.v1.UpdateProposalRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value UpdateProposalRequest
Returns
Type Description
BatchUpdateProposalsRequest.Builder

addRequests(UpdateProposalRequest.Builder builderForValue)

public BatchUpdateProposalsRequest.Builder addRequests(UpdateProposalRequest.Builder builderForValue)

Required. The Proposal objects to update. A maximum of 100 objects can be updated in a batch.

repeated .google.ads.admanager.v1.UpdateProposalRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue UpdateProposalRequest.Builder
Returns
Type Description
BatchUpdateProposalsRequest.Builder

addRequests(int index, UpdateProposalRequest value)

public BatchUpdateProposalsRequest.Builder addRequests(int index, UpdateProposalRequest value)

Required. The Proposal objects to update. A maximum of 100 objects can be updated in a batch.

repeated .google.ads.admanager.v1.UpdateProposalRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value UpdateProposalRequest
Returns
Type Description
BatchUpdateProposalsRequest.Builder

addRequests(int index, UpdateProposalRequest.Builder builderForValue)

public BatchUpdateProposalsRequest.Builder addRequests(int index, UpdateProposalRequest.Builder builderForValue)

Required. The Proposal objects to update. A maximum of 100 objects can be updated in a batch.

repeated .google.ads.admanager.v1.UpdateProposalRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue UpdateProposalRequest.Builder
Returns
Type Description
BatchUpdateProposalsRequest.Builder

addRequestsBuilder()

public UpdateProposalRequest.Builder addRequestsBuilder()

Required. The Proposal objects to update. A maximum of 100 objects can be updated in a batch.

repeated .google.ads.admanager.v1.UpdateProposalRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateProposalRequest.Builder

addRequestsBuilder(int index)

public UpdateProposalRequest.Builder addRequestsBuilder(int index)

Required. The Proposal objects to update. A maximum of 100 objects can be updated in a batch.

repeated .google.ads.admanager.v1.UpdateProposalRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
UpdateProposalRequest.Builder

build()

public BatchUpdateProposalsRequest build()
Returns
Type Description
BatchUpdateProposalsRequest

buildPartial()

public BatchUpdateProposalsRequest buildPartial()
Returns
Type Description
BatchUpdateProposalsRequest

clear()

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

clearParent()

public BatchUpdateProposalsRequest.Builder clearParent()

Required. The parent resource where Proposals will be updated. Format: networks/{network_code} The parent field in the UpdateProposalRequest must match this field.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
BatchUpdateProposalsRequest.Builder

This builder for chaining.

clearRequests()

public BatchUpdateProposalsRequest.Builder clearRequests()

Required. The Proposal objects to update. A maximum of 100 objects can be updated in a batch.

repeated .google.ads.admanager.v1.UpdateProposalRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BatchUpdateProposalsRequest.Builder

getDefaultInstanceForType()

public BatchUpdateProposalsRequest getDefaultInstanceForType()
Returns
Type Description
BatchUpdateProposalsRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. The parent resource where Proposals will be updated. Format: networks/{network_code} The parent field in the UpdateProposalRequest must match this field.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent resource where Proposals will be updated. Format: networks/{network_code} The parent field in the UpdateProposalRequest must match this field.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getRequests(int index)

public UpdateProposalRequest getRequests(int index)

Required. The Proposal objects to update. A maximum of 100 objects can be updated in a batch.

repeated .google.ads.admanager.v1.UpdateProposalRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
UpdateProposalRequest

getRequestsBuilder(int index)

public UpdateProposalRequest.Builder getRequestsBuilder(int index)

Required. The Proposal objects to update. A maximum of 100 objects can be updated in a batch.

repeated .google.ads.admanager.v1.UpdateProposalRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
UpdateProposalRequest.Builder

getRequestsBuilderList()

public List<UpdateProposalRequest.Builder> getRequestsBuilderList()

Required. The Proposal objects to update. A maximum of 100 objects can be updated in a batch.

repeated .google.ads.admanager.v1.UpdateProposalRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getRequestsCount()

public int getRequestsCount()

Required. The Proposal objects to update. A maximum of 100 objects can be updated in a batch.

repeated .google.ads.admanager.v1.UpdateProposalRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getRequestsList()

public List<UpdateProposalRequest> getRequestsList()

Required. The Proposal objects to update. A maximum of 100 objects can be updated in a batch.

repeated .google.ads.admanager.v1.UpdateProposalRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<UpdateProposalRequest>

getRequestsOrBuilder(int index)

public UpdateProposalRequestOrBuilder getRequestsOrBuilder(int index)

Required. The Proposal objects to update. A maximum of 100 objects can be updated in a batch.

repeated .google.ads.admanager.v1.UpdateProposalRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
UpdateProposalRequestOrBuilder

getRequestsOrBuilderList()

public List<? extends UpdateProposalRequestOrBuilder> getRequestsOrBuilderList()

Required. The Proposal objects to update. A maximum of 100 objects can be updated in a batch.

repeated .google.ads.admanager.v1.UpdateProposalRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchUpdateProposalsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeRequests(int index)

public BatchUpdateProposalsRequest.Builder removeRequests(int index)

Required. The Proposal objects to update. A maximum of 100 objects can be updated in a batch.

repeated .google.ads.admanager.v1.UpdateProposalRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
BatchUpdateProposalsRequest.Builder

setParent(String value)

public BatchUpdateProposalsRequest.Builder setParent(String value)

Required. The parent resource where Proposals will be updated. Format: networks/{network_code} The parent field in the UpdateProposalRequest must match this field.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
BatchUpdateProposalsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public BatchUpdateProposalsRequest.Builder setParentBytes(ByteString value)

Required. The parent resource where Proposals will be updated. Format: networks/{network_code} The parent field in the UpdateProposalRequest must match this field.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
BatchUpdateProposalsRequest.Builder

This builder for chaining.

setRequests(int index, UpdateProposalRequest value)

public BatchUpdateProposalsRequest.Builder setRequests(int index, UpdateProposalRequest value)

Required. The Proposal objects to update. A maximum of 100 objects can be updated in a batch.

repeated .google.ads.admanager.v1.UpdateProposalRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value UpdateProposalRequest
Returns
Type Description
BatchUpdateProposalsRequest.Builder

setRequests(int index, UpdateProposalRequest.Builder builderForValue)

public BatchUpdateProposalsRequest.Builder setRequests(int index, UpdateProposalRequest.Builder builderForValue)

Required. The Proposal objects to update. A maximum of 100 objects can be updated in a batch.

repeated .google.ads.admanager.v1.UpdateProposalRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue UpdateProposalRequest.Builder
Returns
Type Description
BatchUpdateProposalsRequest.Builder