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