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