Class BatchCreateViewabilityProvidersRequest.Builder (0.58.0)

public static final class BatchCreateViewabilityProvidersRequest.Builder extends GeneratedMessage.Builder<BatchCreateViewabilityProvidersRequest.Builder> implements BatchCreateViewabilityProvidersRequestOrBuilder

Request object for [BatchCreateViewabilityProviders][] method.

Protobuf type google.ads.admanager.v1.BatchCreateViewabilityProvidersRequest

Static Methods

getDescriptor()

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

Methods

addAllRequests(Iterable<? extends CreateViewabilityProviderRequest> values)

public BatchCreateViewabilityProvidersRequest.Builder addAllRequests(Iterable<? extends CreateViewabilityProviderRequest> values)

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

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

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

addRequests(CreateViewabilityProviderRequest value)

public BatchCreateViewabilityProvidersRequest.Builder addRequests(CreateViewabilityProviderRequest value)

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

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

Parameter
Name Description
value CreateViewabilityProviderRequest
Returns
Type Description
BatchCreateViewabilityProvidersRequest.Builder

addRequests(CreateViewabilityProviderRequest.Builder builderForValue)

public BatchCreateViewabilityProvidersRequest.Builder addRequests(CreateViewabilityProviderRequest.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue CreateViewabilityProviderRequest.Builder
Returns
Type Description
BatchCreateViewabilityProvidersRequest.Builder

addRequests(int index, CreateViewabilityProviderRequest value)

public BatchCreateViewabilityProvidersRequest.Builder addRequests(int index, CreateViewabilityProviderRequest value)

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

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

Parameters
Name Description
index int
value CreateViewabilityProviderRequest
Returns
Type Description
BatchCreateViewabilityProvidersRequest.Builder

addRequests(int index, CreateViewabilityProviderRequest.Builder builderForValue)

public BatchCreateViewabilityProvidersRequest.Builder addRequests(int index, CreateViewabilityProviderRequest.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue CreateViewabilityProviderRequest.Builder
Returns
Type Description
BatchCreateViewabilityProvidersRequest.Builder

addRequestsBuilder()

public CreateViewabilityProviderRequest.Builder addRequestsBuilder()

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

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

Returns
Type Description
CreateViewabilityProviderRequest.Builder

addRequestsBuilder(int index)

public CreateViewabilityProviderRequest.Builder addRequestsBuilder(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
CreateViewabilityProviderRequest.Builder

build()

public BatchCreateViewabilityProvidersRequest build()
Returns
Type Description
BatchCreateViewabilityProvidersRequest

buildPartial()

public BatchCreateViewabilityProvidersRequest buildPartial()
Returns
Type Description
BatchCreateViewabilityProvidersRequest

clear()

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

clearParent()

public BatchCreateViewabilityProvidersRequest.Builder clearParent()

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

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

Returns
Type Description
BatchCreateViewabilityProvidersRequest.Builder

This builder for chaining.

clearRequests()

public BatchCreateViewabilityProvidersRequest.Builder clearRequests()

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

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

Returns
Type Description
BatchCreateViewabilityProvidersRequest.Builder

getDefaultInstanceForType()

public BatchCreateViewabilityProvidersRequest getDefaultInstanceForType()
Returns
Type Description
BatchCreateViewabilityProvidersRequest

getDescriptorForType()

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

getParent()

public String getParent()

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

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

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

Parameter
Name Description
index int
Returns
Type Description
CreateViewabilityProviderRequest

getRequestsBuilder(int index)

public CreateViewabilityProviderRequest.Builder getRequestsBuilder(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
CreateViewabilityProviderRequest.Builder

getRequestsBuilderList()

public List<CreateViewabilityProviderRequest.Builder> getRequestsBuilderList()

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

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

Returns
Type Description
List<Builder>

getRequestsCount()

public int getRequestsCount()

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

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

Returns
Type Description
int

getRequestsList()

public List<CreateViewabilityProviderRequest> getRequestsList()

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

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

Returns
Type Description
List<CreateViewabilityProviderRequest>

getRequestsOrBuilder(int index)

public CreateViewabilityProviderRequestOrBuilder getRequestsOrBuilder(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
CreateViewabilityProviderRequestOrBuilder

getRequestsOrBuilderList()

public List<? extends CreateViewabilityProviderRequestOrBuilder> getRequestsOrBuilderList()

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

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

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchCreateViewabilityProvidersRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeRequests(int index)

public BatchCreateViewabilityProvidersRequest.Builder removeRequests(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
BatchCreateViewabilityProvidersRequest.Builder

setParent(String value)

public BatchCreateViewabilityProvidersRequest.Builder setParent(String value)

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

This builder for chaining.

setParentBytes(ByteString value)

public BatchCreateViewabilityProvidersRequest.Builder setParentBytes(ByteString value)

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

This builder for chaining.

setRequests(int index, CreateViewabilityProviderRequest value)

public BatchCreateViewabilityProvidersRequest.Builder setRequests(int index, CreateViewabilityProviderRequest value)

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

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

Parameters
Name Description
index int
value CreateViewabilityProviderRequest
Returns
Type Description
BatchCreateViewabilityProvidersRequest.Builder

setRequests(int index, CreateViewabilityProviderRequest.Builder builderForValue)

public BatchCreateViewabilityProvidersRequest.Builder setRequests(int index, CreateViewabilityProviderRequest.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue CreateViewabilityProviderRequest.Builder
Returns
Type Description
BatchCreateViewabilityProvidersRequest.Builder