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