Class BatchCreateLineItemCreativeAssociationsRequest.Builder (0.62.0)

public static final class BatchCreateLineItemCreativeAssociationsRequest.Builder extends GeneratedMessage.Builder<BatchCreateLineItemCreativeAssociationsRequest.Builder> implements BatchCreateLineItemCreativeAssociationsRequestOrBuilder

Request object for BatchCreateLineItemCreativeAssociations method.

Protobuf type google.ads.admanager.v1.BatchCreateLineItemCreativeAssociationsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllRequests(Iterable<? extends CreateLineItemCreativeAssociationRequest> values)

public BatchCreateLineItemCreativeAssociationsRequest.Builder addAllRequests(Iterable<? extends CreateLineItemCreativeAssociationRequest> values)

Required. The LineItemCreativeAssociation objects to create. A maximum of 100 objects can be created in a batch.

repeated .google.ads.admanager.v1.CreateLineItemCreativeAssociationRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<? extends com.google.ads.admanager.v1.CreateLineItemCreativeAssociationRequest>
Returns
Type Description
BatchCreateLineItemCreativeAssociationsRequest.Builder

addRequests(CreateLineItemCreativeAssociationRequest value)

public BatchCreateLineItemCreativeAssociationsRequest.Builder addRequests(CreateLineItemCreativeAssociationRequest value)

Required. The LineItemCreativeAssociation objects to create. A maximum of 100 objects can be created in a batch.

repeated .google.ads.admanager.v1.CreateLineItemCreativeAssociationRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value CreateLineItemCreativeAssociationRequest
Returns
Type Description
BatchCreateLineItemCreativeAssociationsRequest.Builder

addRequests(CreateLineItemCreativeAssociationRequest.Builder builderForValue)

public BatchCreateLineItemCreativeAssociationsRequest.Builder addRequests(CreateLineItemCreativeAssociationRequest.Builder builderForValue)

Required. The LineItemCreativeAssociation objects to create. A maximum of 100 objects can be created in a batch.

repeated .google.ads.admanager.v1.CreateLineItemCreativeAssociationRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue CreateLineItemCreativeAssociationRequest.Builder
Returns
Type Description
BatchCreateLineItemCreativeAssociationsRequest.Builder

addRequests(int index, CreateLineItemCreativeAssociationRequest value)

public BatchCreateLineItemCreativeAssociationsRequest.Builder addRequests(int index, CreateLineItemCreativeAssociationRequest value)

Required. The LineItemCreativeAssociation objects to create. A maximum of 100 objects can be created in a batch.

repeated .google.ads.admanager.v1.CreateLineItemCreativeAssociationRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value CreateLineItemCreativeAssociationRequest
Returns
Type Description
BatchCreateLineItemCreativeAssociationsRequest.Builder

addRequests(int index, CreateLineItemCreativeAssociationRequest.Builder builderForValue)

public BatchCreateLineItemCreativeAssociationsRequest.Builder addRequests(int index, CreateLineItemCreativeAssociationRequest.Builder builderForValue)

Required. The LineItemCreativeAssociation objects to create. A maximum of 100 objects can be created in a batch.

repeated .google.ads.admanager.v1.CreateLineItemCreativeAssociationRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue CreateLineItemCreativeAssociationRequest.Builder
Returns
Type Description
BatchCreateLineItemCreativeAssociationsRequest.Builder

addRequestsBuilder()

public CreateLineItemCreativeAssociationRequest.Builder addRequestsBuilder()

Required. The LineItemCreativeAssociation objects to create. A maximum of 100 objects can be created in a batch.

repeated .google.ads.admanager.v1.CreateLineItemCreativeAssociationRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateLineItemCreativeAssociationRequest.Builder

addRequestsBuilder(int index)

public CreateLineItemCreativeAssociationRequest.Builder addRequestsBuilder(int index)

Required. The LineItemCreativeAssociation objects to create. A maximum of 100 objects can be created in a batch.

repeated .google.ads.admanager.v1.CreateLineItemCreativeAssociationRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
CreateLineItemCreativeAssociationRequest.Builder

build()

public BatchCreateLineItemCreativeAssociationsRequest build()
Returns
Type Description
BatchCreateLineItemCreativeAssociationsRequest

buildPartial()

public BatchCreateLineItemCreativeAssociationsRequest buildPartial()
Returns
Type Description
BatchCreateLineItemCreativeAssociationsRequest

clear()

public BatchCreateLineItemCreativeAssociationsRequest.Builder clear()
Returns
Type Description
BatchCreateLineItemCreativeAssociationsRequest.Builder
Overrides

clearParent()

public BatchCreateLineItemCreativeAssociationsRequest.Builder clearParent()

Required. The parent resource where LineItemCreativeAssociations will be created. This request supports using the "-" character as a wildcard for resources that span across multiple LineItem parents. Format: networks/{network_code}/lineItems/{line_item_id} Format: networks/{network_code}/lineItems/-

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
BatchCreateLineItemCreativeAssociationsRequest.Builder

This builder for chaining.

clearRequests()

public BatchCreateLineItemCreativeAssociationsRequest.Builder clearRequests()

Required. The LineItemCreativeAssociation objects to create. A maximum of 100 objects can be created in a batch.

repeated .google.ads.admanager.v1.CreateLineItemCreativeAssociationRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BatchCreateLineItemCreativeAssociationsRequest.Builder

getDefaultInstanceForType()

public BatchCreateLineItemCreativeAssociationsRequest getDefaultInstanceForType()
Returns
Type Description
BatchCreateLineItemCreativeAssociationsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getParent()

public String getParent()

Required. The parent resource where LineItemCreativeAssociations will be created. This request supports using the "-" character as a wildcard for resources that span across multiple LineItem parents. Format: networks/{network_code}/lineItems/{line_item_id} Format: networks/{network_code}/lineItems/-

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 LineItemCreativeAssociations will be created. This request supports using the "-" character as a wildcard for resources that span across multiple LineItem parents. Format: networks/{network_code}/lineItems/{line_item_id} Format: networks/{network_code}/lineItems/-

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getRequests(int index)

public CreateLineItemCreativeAssociationRequest getRequests(int index)

Required. The LineItemCreativeAssociation objects to create. A maximum of 100 objects can be created in a batch.

repeated .google.ads.admanager.v1.CreateLineItemCreativeAssociationRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
CreateLineItemCreativeAssociationRequest

getRequestsBuilder(int index)

public CreateLineItemCreativeAssociationRequest.Builder getRequestsBuilder(int index)

Required. The LineItemCreativeAssociation objects to create. A maximum of 100 objects can be created in a batch.

repeated .google.ads.admanager.v1.CreateLineItemCreativeAssociationRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
CreateLineItemCreativeAssociationRequest.Builder

getRequestsBuilderList()

public List<CreateLineItemCreativeAssociationRequest.Builder> getRequestsBuilderList()

Required. The LineItemCreativeAssociation objects to create. A maximum of 100 objects can be created in a batch.

repeated .google.ads.admanager.v1.CreateLineItemCreativeAssociationRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getRequestsCount()

public int getRequestsCount()

Required. The LineItemCreativeAssociation objects to create. A maximum of 100 objects can be created in a batch.

repeated .google.ads.admanager.v1.CreateLineItemCreativeAssociationRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getRequestsList()

public List<CreateLineItemCreativeAssociationRequest> getRequestsList()

Required. The LineItemCreativeAssociation objects to create. A maximum of 100 objects can be created in a batch.

repeated .google.ads.admanager.v1.CreateLineItemCreativeAssociationRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<CreateLineItemCreativeAssociationRequest>

getRequestsOrBuilder(int index)

public CreateLineItemCreativeAssociationRequestOrBuilder getRequestsOrBuilder(int index)

Required. The LineItemCreativeAssociation objects to create. A maximum of 100 objects can be created in a batch.

repeated .google.ads.admanager.v1.CreateLineItemCreativeAssociationRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
CreateLineItemCreativeAssociationRequestOrBuilder

getRequestsOrBuilderList()

public List<? extends CreateLineItemCreativeAssociationRequestOrBuilder> getRequestsOrBuilderList()

Required. The LineItemCreativeAssociation objects to create. A maximum of 100 objects can be created in a batch.

repeated .google.ads.admanager.v1.CreateLineItemCreativeAssociationRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.ads.admanager.v1.CreateLineItemCreativeAssociationRequestOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchCreateLineItemCreativeAssociationsRequest other)

public BatchCreateLineItemCreativeAssociationsRequest.Builder mergeFrom(BatchCreateLineItemCreativeAssociationsRequest other)
Parameter
Name Description
other BatchCreateLineItemCreativeAssociationsRequest
Returns
Type Description
BatchCreateLineItemCreativeAssociationsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchCreateLineItemCreativeAssociationsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCreateLineItemCreativeAssociationsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BatchCreateLineItemCreativeAssociationsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BatchCreateLineItemCreativeAssociationsRequest.Builder
Overrides

removeRequests(int index)

public BatchCreateLineItemCreativeAssociationsRequest.Builder removeRequests(int index)

Required. The LineItemCreativeAssociation objects to create. A maximum of 100 objects can be created in a batch.

repeated .google.ads.admanager.v1.CreateLineItemCreativeAssociationRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
BatchCreateLineItemCreativeAssociationsRequest.Builder

setParent(String value)

public BatchCreateLineItemCreativeAssociationsRequest.Builder setParent(String value)

Required. The parent resource where LineItemCreativeAssociations will be created. This request supports using the "-" character as a wildcard for resources that span across multiple LineItem parents. Format: networks/{network_code}/lineItems/{line_item_id} Format: networks/{network_code}/lineItems/-

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
BatchCreateLineItemCreativeAssociationsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public BatchCreateLineItemCreativeAssociationsRequest.Builder setParentBytes(ByteString value)

Required. The parent resource where LineItemCreativeAssociations will be created. This request supports using the "-" character as a wildcard for resources that span across multiple LineItem parents. Format: networks/{network_code}/lineItems/{line_item_id} Format: networks/{network_code}/lineItems/-

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
BatchCreateLineItemCreativeAssociationsRequest.Builder

This builder for chaining.

setRequests(int index, CreateLineItemCreativeAssociationRequest value)

public BatchCreateLineItemCreativeAssociationsRequest.Builder setRequests(int index, CreateLineItemCreativeAssociationRequest value)

Required. The LineItemCreativeAssociation objects to create. A maximum of 100 objects can be created in a batch.

repeated .google.ads.admanager.v1.CreateLineItemCreativeAssociationRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value CreateLineItemCreativeAssociationRequest
Returns
Type Description
BatchCreateLineItemCreativeAssociationsRequest.Builder

setRequests(int index, CreateLineItemCreativeAssociationRequest.Builder builderForValue)

public BatchCreateLineItemCreativeAssociationsRequest.Builder setRequests(int index, CreateLineItemCreativeAssociationRequest.Builder builderForValue)

Required. The LineItemCreativeAssociation objects to create. A maximum of 100 objects can be created in a batch.

repeated .google.ads.admanager.v1.CreateLineItemCreativeAssociationRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue CreateLineItemCreativeAssociationRequest.Builder
Returns
Type Description
BatchCreateLineItemCreativeAssociationsRequest.Builder