public static final class BatchCreateContactsRequest.Builder extends GeneratedMessageV3.Builder<BatchCreateContactsRequest.Builder> implements BatchCreateContactsRequestOrBuilder
Request object for BatchCreateContacts method.
Protobuf type google.ads.admanager.v1.BatchCreateContactsRequest
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 BatchCreateContactsRequest.Builder addAllRequests(Iterable<? extends CreateContactRequest> values)
Required. The Contact objects to create.
A maximum of 100 objects can be created in a batch.
repeated .google.ads.admanager.v1.CreateContactRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.ads.admanager.v1.CreateContactRequest>
|
public BatchCreateContactsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public BatchCreateContactsRequest.Builder addRequests(CreateContactRequest value)
Required. The Contact objects to create.
A maximum of 100 objects can be created in a batch.
repeated .google.ads.admanager.v1.CreateContactRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
public BatchCreateContactsRequest.Builder addRequests(CreateContactRequest.Builder builderForValue)
Required. The Contact objects to create.
A maximum of 100 objects can be created in a batch.
repeated .google.ads.admanager.v1.CreateContactRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
public BatchCreateContactsRequest.Builder addRequests(int index, CreateContactRequest value)
Required. The Contact objects to create.
A maximum of 100 objects can be created in a batch.
repeated .google.ads.admanager.v1.CreateContactRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
public BatchCreateContactsRequest.Builder addRequests(int index, CreateContactRequest.Builder builderForValue)
Required. The Contact objects to create.
A maximum of 100 objects can be created in a batch.
repeated .google.ads.admanager.v1.CreateContactRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateContactRequest.Builder addRequestsBuilder()
Required. The Contact objects to create.
A maximum of 100 objects can be created in a batch.
repeated .google.ads.admanager.v1.CreateContactRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateContactRequest.Builder addRequestsBuilder(int index)
Required. The Contact objects to create.
A maximum of 100 objects can be created in a batch.
repeated .google.ads.admanager.v1.CreateContactRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
public BatchCreateContactsRequest build()
public BatchCreateContactsRequest buildPartial()
public BatchCreateContactsRequest.Builder clear()
Overrides
public BatchCreateContactsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public BatchCreateContactsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public BatchCreateContactsRequest.Builder clearParent()
Required. The parent resource where Contacts will be created.
Format: networks/{network_code}
The parent field in the CreateContactRequest must match this
field.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public BatchCreateContactsRequest.Builder clearRequests()
Required. The Contact objects to create.
A maximum of 100 objects can be created in a batch.
repeated .google.ads.admanager.v1.CreateContactRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
public BatchCreateContactsRequest.Builder clone()
Overrides
public BatchCreateContactsRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public String getParent()
Required. The parent resource where Contacts will be created.
Format: networks/{network_code}
The parent field in the CreateContactRequest 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 created.
Format: networks/{network_code}
The parent field in the CreateContactRequest 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 CreateContactRequest getRequests(int index)
Required. The Contact objects to create.
A maximum of 100 objects can be created in a batch.
repeated .google.ads.admanager.v1.CreateContactRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
public CreateContactRequest.Builder getRequestsBuilder(int index)
Required. The Contact objects to create.
A maximum of 100 objects can be created in a batch.
repeated .google.ads.admanager.v1.CreateContactRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
public List<CreateContactRequest.Builder> getRequestsBuilderList()
Required. The Contact objects to create.
A maximum of 100 objects can be created in a batch.
repeated .google.ads.admanager.v1.CreateContactRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
public int getRequestsCount()
Required. The Contact objects to create.
A maximum of 100 objects can be created in a batch.
repeated .google.ads.admanager.v1.CreateContactRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
int |
|
public List<CreateContactRequest> getRequestsList()
Required. The Contact objects to create.
A maximum of 100 objects can be created in a batch.
repeated .google.ads.admanager.v1.CreateContactRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateContactRequestOrBuilder getRequestsOrBuilder(int index)
Required. The Contact objects to create.
A maximum of 100 objects can be created in a batch.
repeated .google.ads.admanager.v1.CreateContactRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
public List<? extends CreateContactRequestOrBuilder> getRequestsOrBuilderList()
Required. The Contact objects to create.
A maximum of 100 objects can be created in a batch.
repeated .google.ads.admanager.v1.CreateContactRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
List<? extends com.google.ads.admanager.v1.CreateContactRequestOrBuilder> |
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public BatchCreateContactsRequest.Builder mergeFrom(BatchCreateContactsRequest other)
public BatchCreateContactsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public BatchCreateContactsRequest.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
public final BatchCreateContactsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public BatchCreateContactsRequest.Builder removeRequests(int index)
Required. The Contact objects to create.
A maximum of 100 objects can be created in a batch.
repeated .google.ads.admanager.v1.CreateContactRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
public BatchCreateContactsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public BatchCreateContactsRequest.Builder setParent(String value)
Required. The parent resource where Contacts will be created.
Format: networks/{network_code}
The parent field in the CreateContactRequest 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 BatchCreateContactsRequest.Builder setParentBytes(ByteString value)
Required. The parent resource where Contacts will be created.
Format: networks/{network_code}
The parent field in the CreateContactRequest 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 BatchCreateContactsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public BatchCreateContactsRequest.Builder setRequests(int index, CreateContactRequest value)
Required. The Contact objects to create.
A maximum of 100 objects can be created in a batch.
repeated .google.ads.admanager.v1.CreateContactRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
public BatchCreateContactsRequest.Builder setRequests(int index, CreateContactRequest.Builder builderForValue)
Required. The Contact objects to create.
A maximum of 100 objects can be created in a batch.
repeated .google.ads.admanager.v1.CreateContactRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
public final BatchCreateContactsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides