Class BatchUpdateLineItemCreativeAssociationsRequest.Builder (0.62.0)

public static final class BatchUpdateLineItemCreativeAssociationsRequest.Builder extends GeneratedMessage.Builder<BatchUpdateLineItemCreativeAssociationsRequest.Builder> implements BatchUpdateLineItemCreativeAssociationsRequestOrBuilder

Request object for BatchUpdateLineItemCreativeAssociations method.

Protobuf type google.ads.admanager.v1.BatchUpdateLineItemCreativeAssociationsRequest

Static Methods

getDescriptor()

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

Methods

addAllRequests(Iterable<? extends UpdateLineItemCreativeAssociationRequest> values)

public BatchUpdateLineItemCreativeAssociationsRequest.Builder addAllRequests(Iterable<? extends UpdateLineItemCreativeAssociationRequest> values)

Required. The LineItemCreativeAssociation objects to update. A maximum of 100 objects can be updated in a batch.

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

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

addRequests(UpdateLineItemCreativeAssociationRequest value)

public BatchUpdateLineItemCreativeAssociationsRequest.Builder addRequests(UpdateLineItemCreativeAssociationRequest value)

Required. The LineItemCreativeAssociation objects to update. A maximum of 100 objects can be updated in a batch.

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

Parameter
Name Description
value UpdateLineItemCreativeAssociationRequest
Returns
Type Description
BatchUpdateLineItemCreativeAssociationsRequest.Builder

addRequests(UpdateLineItemCreativeAssociationRequest.Builder builderForValue)

public BatchUpdateLineItemCreativeAssociationsRequest.Builder addRequests(UpdateLineItemCreativeAssociationRequest.Builder builderForValue)

Required. The LineItemCreativeAssociation objects to update. A maximum of 100 objects can be updated in a batch.

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

Parameter
Name Description
builderForValue UpdateLineItemCreativeAssociationRequest.Builder
Returns
Type Description
BatchUpdateLineItemCreativeAssociationsRequest.Builder

addRequests(int index, UpdateLineItemCreativeAssociationRequest value)

public BatchUpdateLineItemCreativeAssociationsRequest.Builder addRequests(int index, UpdateLineItemCreativeAssociationRequest value)

Required. The LineItemCreativeAssociation objects to update. A maximum of 100 objects can be updated in a batch.

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

Parameters
Name Description
index int
value UpdateLineItemCreativeAssociationRequest
Returns
Type Description
BatchUpdateLineItemCreativeAssociationsRequest.Builder

addRequests(int index, UpdateLineItemCreativeAssociationRequest.Builder builderForValue)

public BatchUpdateLineItemCreativeAssociationsRequest.Builder addRequests(int index, UpdateLineItemCreativeAssociationRequest.Builder builderForValue)

Required. The LineItemCreativeAssociation objects to update. A maximum of 100 objects can be updated in a batch.

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

Parameters
Name Description
index int
builderForValue UpdateLineItemCreativeAssociationRequest.Builder
Returns
Type Description
BatchUpdateLineItemCreativeAssociationsRequest.Builder

addRequestsBuilder()

public UpdateLineItemCreativeAssociationRequest.Builder addRequestsBuilder()

Required. The LineItemCreativeAssociation objects to update. A maximum of 100 objects can be updated in a batch.

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

Returns
Type Description
UpdateLineItemCreativeAssociationRequest.Builder

addRequestsBuilder(int index)

public UpdateLineItemCreativeAssociationRequest.Builder addRequestsBuilder(int index)

Required. The LineItemCreativeAssociation objects to update. A maximum of 100 objects can be updated in a batch.

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

Parameter
Name Description
index int
Returns
Type Description
UpdateLineItemCreativeAssociationRequest.Builder

build()

public BatchUpdateLineItemCreativeAssociationsRequest build()
Returns
Type Description
BatchUpdateLineItemCreativeAssociationsRequest

buildPartial()

public BatchUpdateLineItemCreativeAssociationsRequest buildPartial()
Returns
Type Description
BatchUpdateLineItemCreativeAssociationsRequest

clear()

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

clearParent()

public BatchUpdateLineItemCreativeAssociationsRequest.Builder clearParent()

Required. The parent resource where LineItemCreativeAssociations will be updated. 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
BatchUpdateLineItemCreativeAssociationsRequest.Builder

This builder for chaining.

clearRequests()

public BatchUpdateLineItemCreativeAssociationsRequest.Builder clearRequests()

Required. The LineItemCreativeAssociation objects to update. A maximum of 100 objects can be updated in a batch.

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

Returns
Type Description
BatchUpdateLineItemCreativeAssociationsRequest.Builder

getDefaultInstanceForType()

public BatchUpdateLineItemCreativeAssociationsRequest getDefaultInstanceForType()
Returns
Type Description
BatchUpdateLineItemCreativeAssociationsRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. The parent resource where LineItemCreativeAssociations will be updated. 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 updated. 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 UpdateLineItemCreativeAssociationRequest getRequests(int index)

Required. The LineItemCreativeAssociation objects to update. A maximum of 100 objects can be updated in a batch.

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

Parameter
Name Description
index int
Returns
Type Description
UpdateLineItemCreativeAssociationRequest

getRequestsBuilder(int index)

public UpdateLineItemCreativeAssociationRequest.Builder getRequestsBuilder(int index)

Required. The LineItemCreativeAssociation objects to update. A maximum of 100 objects can be updated in a batch.

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

Parameter
Name Description
index int
Returns
Type Description
UpdateLineItemCreativeAssociationRequest.Builder

getRequestsBuilderList()

public List<UpdateLineItemCreativeAssociationRequest.Builder> getRequestsBuilderList()

Required. The LineItemCreativeAssociation objects to update. A maximum of 100 objects can be updated in a batch.

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

Returns
Type Description
List<Builder>

getRequestsCount()

public int getRequestsCount()

Required. The LineItemCreativeAssociation objects to update. A maximum of 100 objects can be updated in a batch.

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

Returns
Type Description
int

getRequestsList()

public List<UpdateLineItemCreativeAssociationRequest> getRequestsList()

Required. The LineItemCreativeAssociation objects to update. A maximum of 100 objects can be updated in a batch.

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

Returns
Type Description
List<UpdateLineItemCreativeAssociationRequest>

getRequestsOrBuilder(int index)

public UpdateLineItemCreativeAssociationRequestOrBuilder getRequestsOrBuilder(int index)

Required. The LineItemCreativeAssociation objects to update. A maximum of 100 objects can be updated in a batch.

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

Parameter
Name Description
index int
Returns
Type Description
UpdateLineItemCreativeAssociationRequestOrBuilder

getRequestsOrBuilderList()

public List<? extends UpdateLineItemCreativeAssociationRequestOrBuilder> getRequestsOrBuilderList()

Required. The LineItemCreativeAssociation objects to update. A maximum of 100 objects can be updated in a batch.

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

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchUpdateLineItemCreativeAssociationsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeRequests(int index)

public BatchUpdateLineItemCreativeAssociationsRequest.Builder removeRequests(int index)

Required. The LineItemCreativeAssociation objects to update. A maximum of 100 objects can be updated in a batch.

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

Parameter
Name Description
index int
Returns
Type Description
BatchUpdateLineItemCreativeAssociationsRequest.Builder

setParent(String value)

public BatchUpdateLineItemCreativeAssociationsRequest.Builder setParent(String value)

Required. The parent resource where LineItemCreativeAssociations will be updated. 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
BatchUpdateLineItemCreativeAssociationsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public BatchUpdateLineItemCreativeAssociationsRequest.Builder setParentBytes(ByteString value)

Required. The parent resource where LineItemCreativeAssociations will be updated. 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
BatchUpdateLineItemCreativeAssociationsRequest.Builder

This builder for chaining.

setRequests(int index, UpdateLineItemCreativeAssociationRequest value)

public BatchUpdateLineItemCreativeAssociationsRequest.Builder setRequests(int index, UpdateLineItemCreativeAssociationRequest value)

Required. The LineItemCreativeAssociation objects to update. A maximum of 100 objects can be updated in a batch.

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

Parameters
Name Description
index int
value UpdateLineItemCreativeAssociationRequest
Returns
Type Description
BatchUpdateLineItemCreativeAssociationsRequest.Builder

setRequests(int index, UpdateLineItemCreativeAssociationRequest.Builder builderForValue)

public BatchUpdateLineItemCreativeAssociationsRequest.Builder setRequests(int index, UpdateLineItemCreativeAssociationRequest.Builder builderForValue)

Required. The LineItemCreativeAssociation objects to update. A maximum of 100 objects can be updated in a batch.

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

Parameters
Name Description
index int
builderForValue UpdateLineItemCreativeAssociationRequest.Builder
Returns
Type Description
BatchUpdateLineItemCreativeAssociationsRequest.Builder