Class BatchCreateCreativeWrappersRequest.Builder (0.58.0)

public static final class BatchCreateCreativeWrappersRequest.Builder extends GeneratedMessage.Builder<BatchCreateCreativeWrappersRequest.Builder> implements BatchCreateCreativeWrappersRequestOrBuilder

Request object for BatchCreateCreativeWrappers method.

Protobuf type google.ads.admanager.v1.BatchCreateCreativeWrappersRequest

Static Methods

getDescriptor()

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

Methods

addAllRequests(Iterable<? extends CreateCreativeWrapperRequest> values)

public BatchCreateCreativeWrappersRequest.Builder addAllRequests(Iterable<? extends CreateCreativeWrapperRequest> values)

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

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

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

addRequests(CreateCreativeWrapperRequest value)

public BatchCreateCreativeWrappersRequest.Builder addRequests(CreateCreativeWrapperRequest value)

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

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

Parameter
Name Description
value CreateCreativeWrapperRequest
Returns
Type Description
BatchCreateCreativeWrappersRequest.Builder

addRequests(CreateCreativeWrapperRequest.Builder builderForValue)

public BatchCreateCreativeWrappersRequest.Builder addRequests(CreateCreativeWrapperRequest.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue CreateCreativeWrapperRequest.Builder
Returns
Type Description
BatchCreateCreativeWrappersRequest.Builder

addRequests(int index, CreateCreativeWrapperRequest value)

public BatchCreateCreativeWrappersRequest.Builder addRequests(int index, CreateCreativeWrapperRequest value)

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

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

Parameters
Name Description
index int
value CreateCreativeWrapperRequest
Returns
Type Description
BatchCreateCreativeWrappersRequest.Builder

addRequests(int index, CreateCreativeWrapperRequest.Builder builderForValue)

public BatchCreateCreativeWrappersRequest.Builder addRequests(int index, CreateCreativeWrapperRequest.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue CreateCreativeWrapperRequest.Builder
Returns
Type Description
BatchCreateCreativeWrappersRequest.Builder

addRequestsBuilder()

public CreateCreativeWrapperRequest.Builder addRequestsBuilder()

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

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

Returns
Type Description
CreateCreativeWrapperRequest.Builder

addRequestsBuilder(int index)

public CreateCreativeWrapperRequest.Builder addRequestsBuilder(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
CreateCreativeWrapperRequest.Builder

build()

public BatchCreateCreativeWrappersRequest build()
Returns
Type Description
BatchCreateCreativeWrappersRequest

buildPartial()

public BatchCreateCreativeWrappersRequest buildPartial()
Returns
Type Description
BatchCreateCreativeWrappersRequest

clear()

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

clearParent()

public BatchCreateCreativeWrappersRequest.Builder clearParent()

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

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

Returns
Type Description
BatchCreateCreativeWrappersRequest.Builder

This builder for chaining.

clearRequests()

public BatchCreateCreativeWrappersRequest.Builder clearRequests()

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

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

Returns
Type Description
BatchCreateCreativeWrappersRequest.Builder

getDefaultInstanceForType()

public BatchCreateCreativeWrappersRequest getDefaultInstanceForType()
Returns
Type Description
BatchCreateCreativeWrappersRequest

getDescriptorForType()

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

getParent()

public String getParent()

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

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

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

Parameter
Name Description
index int
Returns
Type Description
CreateCreativeWrapperRequest

getRequestsBuilder(int index)

public CreateCreativeWrapperRequest.Builder getRequestsBuilder(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
CreateCreativeWrapperRequest.Builder

getRequestsBuilderList()

public List<CreateCreativeWrapperRequest.Builder> getRequestsBuilderList()

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

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

Returns
Type Description
List<Builder>

getRequestsCount()

public int getRequestsCount()

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

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

Returns
Type Description
int

getRequestsList()

public List<CreateCreativeWrapperRequest> getRequestsList()

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

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

Returns
Type Description
List<CreateCreativeWrapperRequest>

getRequestsOrBuilder(int index)

public CreateCreativeWrapperRequestOrBuilder getRequestsOrBuilder(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
CreateCreativeWrapperRequestOrBuilder

getRequestsOrBuilderList()

public List<? extends CreateCreativeWrapperRequestOrBuilder> getRequestsOrBuilderList()

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

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

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchCreateCreativeWrappersRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeRequests(int index)

public BatchCreateCreativeWrappersRequest.Builder removeRequests(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
BatchCreateCreativeWrappersRequest.Builder

setParent(String value)

public BatchCreateCreativeWrappersRequest.Builder setParent(String value)

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

This builder for chaining.

setParentBytes(ByteString value)

public BatchCreateCreativeWrappersRequest.Builder setParentBytes(ByteString value)

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

This builder for chaining.

setRequests(int index, CreateCreativeWrapperRequest value)

public BatchCreateCreativeWrappersRequest.Builder setRequests(int index, CreateCreativeWrapperRequest value)

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

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

Parameters
Name Description
index int
value CreateCreativeWrapperRequest
Returns
Type Description
BatchCreateCreativeWrappersRequest.Builder

setRequests(int index, CreateCreativeWrapperRequest.Builder builderForValue)

public BatchCreateCreativeWrappersRequest.Builder setRequests(int index, CreateCreativeWrapperRequest.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue CreateCreativeWrapperRequest.Builder
Returns
Type Description
BatchCreateCreativeWrappersRequest.Builder