Class BatchUpdateCreativeWrappersRequest.Builder (0.58.0)

public static final class BatchUpdateCreativeWrappersRequest.Builder extends GeneratedMessage.Builder<BatchUpdateCreativeWrappersRequest.Builder> implements BatchUpdateCreativeWrappersRequestOrBuilder

Request object for BatchUpdateCreativeWrappers method.

Protobuf type google.ads.admanager.v1.BatchUpdateCreativeWrappersRequest

Static Methods

getDescriptor()

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

Methods

addAllRequests(Iterable<? extends UpdateCreativeWrapperRequest> values)

public BatchUpdateCreativeWrappersRequest.Builder addAllRequests(Iterable<? extends UpdateCreativeWrapperRequest> values)

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

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

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

addRequests(UpdateCreativeWrapperRequest value)

public BatchUpdateCreativeWrappersRequest.Builder addRequests(UpdateCreativeWrapperRequest value)

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

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

Parameter
Name Description
value UpdateCreativeWrapperRequest
Returns
Type Description
BatchUpdateCreativeWrappersRequest.Builder

addRequests(UpdateCreativeWrapperRequest.Builder builderForValue)

public BatchUpdateCreativeWrappersRequest.Builder addRequests(UpdateCreativeWrapperRequest.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue UpdateCreativeWrapperRequest.Builder
Returns
Type Description
BatchUpdateCreativeWrappersRequest.Builder

addRequests(int index, UpdateCreativeWrapperRequest value)

public BatchUpdateCreativeWrappersRequest.Builder addRequests(int index, UpdateCreativeWrapperRequest value)

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

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

Parameters
Name Description
index int
value UpdateCreativeWrapperRequest
Returns
Type Description
BatchUpdateCreativeWrappersRequest.Builder

addRequests(int index, UpdateCreativeWrapperRequest.Builder builderForValue)

public BatchUpdateCreativeWrappersRequest.Builder addRequests(int index, UpdateCreativeWrapperRequest.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue UpdateCreativeWrapperRequest.Builder
Returns
Type Description
BatchUpdateCreativeWrappersRequest.Builder

addRequestsBuilder()

public UpdateCreativeWrapperRequest.Builder addRequestsBuilder()

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

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

Returns
Type Description
UpdateCreativeWrapperRequest.Builder

addRequestsBuilder(int index)

public UpdateCreativeWrapperRequest.Builder addRequestsBuilder(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
UpdateCreativeWrapperRequest.Builder

build()

public BatchUpdateCreativeWrappersRequest build()
Returns
Type Description
BatchUpdateCreativeWrappersRequest

buildPartial()

public BatchUpdateCreativeWrappersRequest buildPartial()
Returns
Type Description
BatchUpdateCreativeWrappersRequest

clear()

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

clearParent()

public BatchUpdateCreativeWrappersRequest.Builder clearParent()

Required. The parent resource where CreativeWrappers will be updated. Format: networks/{network_code} The parent field in the UpdateCreativeWrapperRequest must match this field.

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

Returns
Type Description
BatchUpdateCreativeWrappersRequest.Builder

This builder for chaining.

clearRequests()

public BatchUpdateCreativeWrappersRequest.Builder clearRequests()

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

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

Returns
Type Description
BatchUpdateCreativeWrappersRequest.Builder

getDefaultInstanceForType()

public BatchUpdateCreativeWrappersRequest getDefaultInstanceForType()
Returns
Type Description
BatchUpdateCreativeWrappersRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. The parent resource where CreativeWrappers will be updated. Format: networks/{network_code} The parent field in the UpdateCreativeWrapperRequest 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 CreativeWrappers will be updated. Format: networks/{network_code} The parent field in the UpdateCreativeWrapperRequest 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 UpdateCreativeWrapperRequest getRequests(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
UpdateCreativeWrapperRequest

getRequestsBuilder(int index)

public UpdateCreativeWrapperRequest.Builder getRequestsBuilder(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
UpdateCreativeWrapperRequest.Builder

getRequestsBuilderList()

public List<UpdateCreativeWrapperRequest.Builder> getRequestsBuilderList()

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

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

Returns
Type Description
List<Builder>

getRequestsCount()

public int getRequestsCount()

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

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

Returns
Type Description
int

getRequestsList()

public List<UpdateCreativeWrapperRequest> getRequestsList()

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

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

Returns
Type Description
List<UpdateCreativeWrapperRequest>

getRequestsOrBuilder(int index)

public UpdateCreativeWrapperRequestOrBuilder getRequestsOrBuilder(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
UpdateCreativeWrapperRequestOrBuilder

getRequestsOrBuilderList()

public List<? extends UpdateCreativeWrapperRequestOrBuilder> getRequestsOrBuilderList()

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

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

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchUpdateCreativeWrappersRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeRequests(int index)

public BatchUpdateCreativeWrappersRequest.Builder removeRequests(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
BatchUpdateCreativeWrappersRequest.Builder

setParent(String value)

public BatchUpdateCreativeWrappersRequest.Builder setParent(String value)

Required. The parent resource where CreativeWrappers will be updated. Format: networks/{network_code} The parent field in the UpdateCreativeWrapperRequest 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.

Returns
Type Description
BatchUpdateCreativeWrappersRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public BatchUpdateCreativeWrappersRequest.Builder setParentBytes(ByteString value)

Required. The parent resource where CreativeWrappers will be updated. Format: networks/{network_code} The parent field in the UpdateCreativeWrapperRequest 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.

Returns
Type Description
BatchUpdateCreativeWrappersRequest.Builder

This builder for chaining.

setRequests(int index, UpdateCreativeWrapperRequest value)

public BatchUpdateCreativeWrappersRequest.Builder setRequests(int index, UpdateCreativeWrapperRequest value)

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

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

Parameters
Name Description
index int
value UpdateCreativeWrapperRequest
Returns
Type Description
BatchUpdateCreativeWrappersRequest.Builder

setRequests(int index, UpdateCreativeWrapperRequest.Builder builderForValue)

public BatchUpdateCreativeWrappersRequest.Builder setRequests(int index, UpdateCreativeWrapperRequest.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue UpdateCreativeWrapperRequest.Builder
Returns
Type Description
BatchUpdateCreativeWrappersRequest.Builder