Class BatchUpdateViewabilityProvidersRequest.Builder (0.58.0)

public static final class BatchUpdateViewabilityProvidersRequest.Builder extends GeneratedMessage.Builder<BatchUpdateViewabilityProvidersRequest.Builder> implements BatchUpdateViewabilityProvidersRequestOrBuilder

Request object for [BatchUpdateViewabilityProviders][] method.

Protobuf type google.ads.admanager.v1.BatchUpdateViewabilityProvidersRequest

Static Methods

getDescriptor()

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

Methods

addAllRequests(Iterable<? extends UpdateViewabilityProviderRequest> values)

public BatchUpdateViewabilityProvidersRequest.Builder addAllRequests(Iterable<? extends UpdateViewabilityProviderRequest> values)

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

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

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

addRequests(UpdateViewabilityProviderRequest value)

public BatchUpdateViewabilityProvidersRequest.Builder addRequests(UpdateViewabilityProviderRequest value)

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

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

Parameter
Name Description
value UpdateViewabilityProviderRequest
Returns
Type Description
BatchUpdateViewabilityProvidersRequest.Builder

addRequests(UpdateViewabilityProviderRequest.Builder builderForValue)

public BatchUpdateViewabilityProvidersRequest.Builder addRequests(UpdateViewabilityProviderRequest.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue UpdateViewabilityProviderRequest.Builder
Returns
Type Description
BatchUpdateViewabilityProvidersRequest.Builder

addRequests(int index, UpdateViewabilityProviderRequest value)

public BatchUpdateViewabilityProvidersRequest.Builder addRequests(int index, UpdateViewabilityProviderRequest value)

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

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

Parameters
Name Description
index int
value UpdateViewabilityProviderRequest
Returns
Type Description
BatchUpdateViewabilityProvidersRequest.Builder

addRequests(int index, UpdateViewabilityProviderRequest.Builder builderForValue)

public BatchUpdateViewabilityProvidersRequest.Builder addRequests(int index, UpdateViewabilityProviderRequest.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue UpdateViewabilityProviderRequest.Builder
Returns
Type Description
BatchUpdateViewabilityProvidersRequest.Builder

addRequestsBuilder()

public UpdateViewabilityProviderRequest.Builder addRequestsBuilder()

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

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

Returns
Type Description
UpdateViewabilityProviderRequest.Builder

addRequestsBuilder(int index)

public UpdateViewabilityProviderRequest.Builder addRequestsBuilder(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
UpdateViewabilityProviderRequest.Builder

build()

public BatchUpdateViewabilityProvidersRequest build()
Returns
Type Description
BatchUpdateViewabilityProvidersRequest

buildPartial()

public BatchUpdateViewabilityProvidersRequest buildPartial()
Returns
Type Description
BatchUpdateViewabilityProvidersRequest

clear()

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

clearParent()

public BatchUpdateViewabilityProvidersRequest.Builder clearParent()

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

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

Returns
Type Description
BatchUpdateViewabilityProvidersRequest.Builder

This builder for chaining.

clearRequests()

public BatchUpdateViewabilityProvidersRequest.Builder clearRequests()

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

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

Returns
Type Description
BatchUpdateViewabilityProvidersRequest.Builder

getDefaultInstanceForType()

public BatchUpdateViewabilityProvidersRequest getDefaultInstanceForType()
Returns
Type Description
BatchUpdateViewabilityProvidersRequest

getDescriptorForType()

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

getParent()

public String getParent()

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

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

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

Parameter
Name Description
index int
Returns
Type Description
UpdateViewabilityProviderRequest

getRequestsBuilder(int index)

public UpdateViewabilityProviderRequest.Builder getRequestsBuilder(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
UpdateViewabilityProviderRequest.Builder

getRequestsBuilderList()

public List<UpdateViewabilityProviderRequest.Builder> getRequestsBuilderList()

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

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

Returns
Type Description
List<Builder>

getRequestsCount()

public int getRequestsCount()

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

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

Returns
Type Description
int

getRequestsList()

public List<UpdateViewabilityProviderRequest> getRequestsList()

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

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

Returns
Type Description
List<UpdateViewabilityProviderRequest>

getRequestsOrBuilder(int index)

public UpdateViewabilityProviderRequestOrBuilder getRequestsOrBuilder(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
UpdateViewabilityProviderRequestOrBuilder

getRequestsOrBuilderList()

public List<? extends UpdateViewabilityProviderRequestOrBuilder> getRequestsOrBuilderList()

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

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

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchUpdateViewabilityProvidersRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeRequests(int index)

public BatchUpdateViewabilityProvidersRequest.Builder removeRequests(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
BatchUpdateViewabilityProvidersRequest.Builder

setParent(String value)

public BatchUpdateViewabilityProvidersRequest.Builder setParent(String value)

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

This builder for chaining.

setParentBytes(ByteString value)

public BatchUpdateViewabilityProvidersRequest.Builder setParentBytes(ByteString value)

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

This builder for chaining.

setRequests(int index, UpdateViewabilityProviderRequest value)

public BatchUpdateViewabilityProvidersRequest.Builder setRequests(int index, UpdateViewabilityProviderRequest value)

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

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

Parameters
Name Description
index int
value UpdateViewabilityProviderRequest
Returns
Type Description
BatchUpdateViewabilityProvidersRequest.Builder

setRequests(int index, UpdateViewabilityProviderRequest.Builder builderForValue)

public BatchUpdateViewabilityProvidersRequest.Builder setRequests(int index, UpdateViewabilityProviderRequest.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue UpdateViewabilityProviderRequest.Builder
Returns
Type Description
BatchUpdateViewabilityProvidersRequest.Builder