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