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