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