public static final class BatchCreateProposalsRequest.Builder extends GeneratedMessage.Builder<BatchCreateProposalsRequest.Builder> implements BatchCreateProposalsRequestOrBuilder Request object for BatchCreateProposals method.
Protobuf type google.ads.admanager.v1.BatchCreateProposalsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BatchCreateProposalsRequest.BuilderImplements
BatchCreateProposalsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllRequests(Iterable<? extends CreateProposalRequest> values)
public BatchCreateProposalsRequest.Builder addAllRequests(Iterable<? extends CreateProposalRequest> values) Required. The Proposal objects to create.
A maximum of 100 objects can be created in a batch.
repeated .google.ads.admanager.v1.CreateProposalRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.ads.admanager.v1.CreateProposalRequest> |
| Returns | |
|---|---|
| Type | Description |
BatchCreateProposalsRequest.Builder |
|
addRequests(CreateProposalRequest value)
public BatchCreateProposalsRequest.Builder addRequests(CreateProposalRequest value) Required. The Proposal objects to create.
A maximum of 100 objects can be created in a batch.
repeated .google.ads.admanager.v1.CreateProposalRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
CreateProposalRequest |
| Returns | |
|---|---|
| Type | Description |
BatchCreateProposalsRequest.Builder |
|
addRequests(CreateProposalRequest.Builder builderForValue)
public BatchCreateProposalsRequest.Builder addRequests(CreateProposalRequest.Builder builderForValue) Required. The Proposal objects to create.
A maximum of 100 objects can be created in a batch.
repeated .google.ads.admanager.v1.CreateProposalRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
CreateProposalRequest.Builder |
| Returns | |
|---|---|
| Type | Description |
BatchCreateProposalsRequest.Builder |
|
addRequests(int index, CreateProposalRequest value)
public BatchCreateProposalsRequest.Builder addRequests(int index, CreateProposalRequest value) Required. The Proposal objects to create.
A maximum of 100 objects can be created in a batch.
repeated .google.ads.admanager.v1.CreateProposalRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
CreateProposalRequest |
| Returns | |
|---|---|
| Type | Description |
BatchCreateProposalsRequest.Builder |
|
addRequests(int index, CreateProposalRequest.Builder builderForValue)
public BatchCreateProposalsRequest.Builder addRequests(int index, CreateProposalRequest.Builder builderForValue) Required. The Proposal objects to create.
A maximum of 100 objects can be created in a batch.
repeated .google.ads.admanager.v1.CreateProposalRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
CreateProposalRequest.Builder |
| Returns | |
|---|---|
| Type | Description |
BatchCreateProposalsRequest.Builder |
|
addRequestsBuilder()
public CreateProposalRequest.Builder addRequestsBuilder() Required. The Proposal objects to create.
A maximum of 100 objects can be created in a batch.
repeated .google.ads.admanager.v1.CreateProposalRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateProposalRequest.Builder |
|
addRequestsBuilder(int index)
public CreateProposalRequest.Builder addRequestsBuilder(int index) Required. The Proposal objects to create.
A maximum of 100 objects can be created in a batch.
repeated .google.ads.admanager.v1.CreateProposalRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CreateProposalRequest.Builder |
|
build()
public BatchCreateProposalsRequest build()| Returns | |
|---|---|
| Type | Description |
BatchCreateProposalsRequest |
|
buildPartial()
public BatchCreateProposalsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
BatchCreateProposalsRequest |
|
clear()
public BatchCreateProposalsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
BatchCreateProposalsRequest.Builder |
|
clearParent()
public BatchCreateProposalsRequest.Builder clearParent() Required. The parent resource where Proposals will be created.
Format: networks/{network_code}
The parent field in the CreateProposalRequest must match this
field.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
BatchCreateProposalsRequest.Builder |
This builder for chaining. |
clearRequests()
public BatchCreateProposalsRequest.Builder clearRequests() Required. The Proposal objects to create.
A maximum of 100 objects can be created in a batch.
repeated .google.ads.admanager.v1.CreateProposalRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
BatchCreateProposalsRequest.Builder |
|
getDefaultInstanceForType()
public BatchCreateProposalsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BatchCreateProposalsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent() Required. The parent resource where Proposals will be created.
Format: networks/{network_code}
The parent field in the CreateProposalRequest 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 created.
Format: networks/{network_code}
The parent field in the CreateProposalRequest 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 CreateProposalRequest getRequests(int index) Required. The Proposal objects to create.
A maximum of 100 objects can be created in a batch.
repeated .google.ads.admanager.v1.CreateProposalRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CreateProposalRequest |
|
getRequestsBuilder(int index)
public CreateProposalRequest.Builder getRequestsBuilder(int index) Required. The Proposal objects to create.
A maximum of 100 objects can be created in a batch.
repeated .google.ads.admanager.v1.CreateProposalRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CreateProposalRequest.Builder |
|
getRequestsBuilderList()
public List<CreateProposalRequest.Builder> getRequestsBuilderList() Required. The Proposal objects to create.
A maximum of 100 objects can be created in a batch.
repeated .google.ads.admanager.v1.CreateProposalRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getRequestsCount()
public int getRequestsCount() Required. The Proposal objects to create.
A maximum of 100 objects can be created in a batch.
repeated .google.ads.admanager.v1.CreateProposalRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
|
getRequestsList()
public List<CreateProposalRequest> getRequestsList() Required. The Proposal objects to create.
A maximum of 100 objects can be created in a batch.
repeated .google.ads.admanager.v1.CreateProposalRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<CreateProposalRequest> |
|
getRequestsOrBuilder(int index)
public CreateProposalRequestOrBuilder getRequestsOrBuilder(int index) Required. The Proposal objects to create.
A maximum of 100 objects can be created in a batch.
repeated .google.ads.admanager.v1.CreateProposalRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CreateProposalRequestOrBuilder |
|
getRequestsOrBuilderList()
public List<? extends CreateProposalRequestOrBuilder> getRequestsOrBuilderList() Required. The Proposal objects to create.
A maximum of 100 objects can be created in a batch.
repeated .google.ads.admanager.v1.CreateProposalRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.ads.admanager.v1.CreateProposalRequestOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(BatchCreateProposalsRequest other)
public BatchCreateProposalsRequest.Builder mergeFrom(BatchCreateProposalsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
BatchCreateProposalsRequest |
| Returns | |
|---|---|
| Type | Description |
BatchCreateProposalsRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BatchCreateProposalsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BatchCreateProposalsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BatchCreateProposalsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BatchCreateProposalsRequest.Builder |
|
removeRequests(int index)
public BatchCreateProposalsRequest.Builder removeRequests(int index) Required. The Proposal objects to create.
A maximum of 100 objects can be created in a batch.
repeated .google.ads.admanager.v1.CreateProposalRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
BatchCreateProposalsRequest.Builder |
|
setParent(String value)
public BatchCreateProposalsRequest.Builder setParent(String value) Required. The parent resource where Proposals will be created.
Format: networks/{network_code}
The parent field in the CreateProposalRequest must match this
field.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
BatchCreateProposalsRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public BatchCreateProposalsRequest.Builder setParentBytes(ByteString value) Required. The parent resource where Proposals will be created.
Format: networks/{network_code}
The parent field in the CreateProposalRequest must match this
field.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
BatchCreateProposalsRequest.Builder |
This builder for chaining. |
setRequests(int index, CreateProposalRequest value)
public BatchCreateProposalsRequest.Builder setRequests(int index, CreateProposalRequest value) Required. The Proposal objects to create.
A maximum of 100 objects can be created in a batch.
repeated .google.ads.admanager.v1.CreateProposalRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
CreateProposalRequest |
| Returns | |
|---|---|
| Type | Description |
BatchCreateProposalsRequest.Builder |
|
setRequests(int index, CreateProposalRequest.Builder builderForValue)
public BatchCreateProposalsRequest.Builder setRequests(int index, CreateProposalRequest.Builder builderForValue) Required. The Proposal objects to create.
A maximum of 100 objects can be created in a batch.
repeated .google.ads.admanager.v1.CreateProposalRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
CreateProposalRequest.Builder |
| Returns | |
|---|---|
| Type | Description |
BatchCreateProposalsRequest.Builder |
|