public static final class BatchUpdateCustomFieldsRequest.Builder extends GeneratedMessageV3.Builder<BatchUpdateCustomFieldsRequest.Builder> implements BatchUpdateCustomFieldsRequestOrBuilder
Request object for BatchUpdateCustomFields method.
Protobuf type google.ads.admanager.v1.BatchUpdateCustomFieldsRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchUpdateCustomFieldsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
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];
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];
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];
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];
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];
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
|
build()
public BatchUpdateCustomFieldsRequest build()
buildPartial()
public BatchUpdateCustomFieldsRequest buildPartial()
clear()
public BatchUpdateCustomFieldsRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public BatchUpdateCustomFieldsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchUpdateCustomFieldsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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) = { ... }
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];
clone()
public BatchUpdateCustomFieldsRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public BatchUpdateCustomFieldsRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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
|
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
|
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];
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];
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
|
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(BatchUpdateCustomFieldsRequest other)
public BatchUpdateCustomFieldsRequest.Builder mergeFrom(BatchUpdateCustomFieldsRequest other)
public BatchUpdateCustomFieldsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BatchUpdateCustomFieldsRequest.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchUpdateCustomFieldsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public BatchUpdateCustomFieldsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 |
String
The parent to set.
|
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 |
ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchUpdateCustomFieldsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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];
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];
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchUpdateCustomFieldsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides