public static final class BatchUpdateAdSpotsRequest.Builder extends GeneratedMessage.Builder<BatchUpdateAdSpotsRequest.Builder> implements BatchUpdateAdSpotsRequestOrBuilder Request object for BatchUpdateAdSpots method.
Protobuf type google.ads.admanager.v1.BatchUpdateAdSpotsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BatchUpdateAdSpotsRequest.BuilderImplements
BatchUpdateAdSpotsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllRequests(Iterable<? extends UpdateAdSpotRequest> values)
public BatchUpdateAdSpotsRequest.Builder addAllRequests(Iterable<? extends UpdateAdSpotRequest> values) Required. The AdSpot objects to update.
A maximum of 100 objects can be updated in a batch.
repeated .google.ads.admanager.v1.UpdateAdSpotRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.ads.admanager.v1.UpdateAdSpotRequest> |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateAdSpotsRequest.Builder |
|
addRequests(UpdateAdSpotRequest value)
public BatchUpdateAdSpotsRequest.Builder addRequests(UpdateAdSpotRequest value) Required. The AdSpot objects to update.
A maximum of 100 objects can be updated in a batch.
repeated .google.ads.admanager.v1.UpdateAdSpotRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
UpdateAdSpotRequest |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateAdSpotsRequest.Builder |
|
addRequests(UpdateAdSpotRequest.Builder builderForValue)
public BatchUpdateAdSpotsRequest.Builder addRequests(UpdateAdSpotRequest.Builder builderForValue) Required. The AdSpot objects to update.
A maximum of 100 objects can be updated in a batch.
repeated .google.ads.admanager.v1.UpdateAdSpotRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
UpdateAdSpotRequest.Builder |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateAdSpotsRequest.Builder |
|
addRequests(int index, UpdateAdSpotRequest value)
public BatchUpdateAdSpotsRequest.Builder addRequests(int index, UpdateAdSpotRequest value) Required. The AdSpot objects to update.
A maximum of 100 objects can be updated in a batch.
repeated .google.ads.admanager.v1.UpdateAdSpotRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
UpdateAdSpotRequest |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateAdSpotsRequest.Builder |
|
addRequests(int index, UpdateAdSpotRequest.Builder builderForValue)
public BatchUpdateAdSpotsRequest.Builder addRequests(int index, UpdateAdSpotRequest.Builder builderForValue) Required. The AdSpot objects to update.
A maximum of 100 objects can be updated in a batch.
repeated .google.ads.admanager.v1.UpdateAdSpotRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
UpdateAdSpotRequest.Builder |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateAdSpotsRequest.Builder |
|
addRequestsBuilder()
public UpdateAdSpotRequest.Builder addRequestsBuilder() Required. The AdSpot objects to update.
A maximum of 100 objects can be updated in a batch.
repeated .google.ads.admanager.v1.UpdateAdSpotRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateAdSpotRequest.Builder |
|
addRequestsBuilder(int index)
public UpdateAdSpotRequest.Builder addRequestsBuilder(int index) Required. The AdSpot objects to update.
A maximum of 100 objects can be updated in a batch.
repeated .google.ads.admanager.v1.UpdateAdSpotRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
UpdateAdSpotRequest.Builder |
|
build()
public BatchUpdateAdSpotsRequest build()| Returns | |
|---|---|
| Type | Description |
BatchUpdateAdSpotsRequest |
|
buildPartial()
public BatchUpdateAdSpotsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
BatchUpdateAdSpotsRequest |
|
clear()
public BatchUpdateAdSpotsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
BatchUpdateAdSpotsRequest.Builder |
|
clearParent()
public BatchUpdateAdSpotsRequest.Builder clearParent() Required. The parent resource where AdSpots will be updated.
Format: networks/{network_code}
The parent field in the UpdateAdSpotRequest must match this
field.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
BatchUpdateAdSpotsRequest.Builder |
This builder for chaining. |
clearRequests()
public BatchUpdateAdSpotsRequest.Builder clearRequests() Required. The AdSpot objects to update.
A maximum of 100 objects can be updated in a batch.
repeated .google.ads.admanager.v1.UpdateAdSpotRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
BatchUpdateAdSpotsRequest.Builder |
|
getDefaultInstanceForType()
public BatchUpdateAdSpotsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BatchUpdateAdSpotsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent() Required. The parent resource where AdSpots will be updated.
Format: networks/{network_code}
The parent field in the UpdateAdSpotRequest 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 AdSpots will be updated.
Format: networks/{network_code}
The parent field in the UpdateAdSpotRequest 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 UpdateAdSpotRequest getRequests(int index) Required. The AdSpot objects to update.
A maximum of 100 objects can be updated in a batch.
repeated .google.ads.admanager.v1.UpdateAdSpotRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
UpdateAdSpotRequest |
|
getRequestsBuilder(int index)
public UpdateAdSpotRequest.Builder getRequestsBuilder(int index) Required. The AdSpot objects to update.
A maximum of 100 objects can be updated in a batch.
repeated .google.ads.admanager.v1.UpdateAdSpotRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
UpdateAdSpotRequest.Builder |
|
getRequestsBuilderList()
public List<UpdateAdSpotRequest.Builder> getRequestsBuilderList() Required. The AdSpot objects to update.
A maximum of 100 objects can be updated in a batch.
repeated .google.ads.admanager.v1.UpdateAdSpotRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getRequestsCount()
public int getRequestsCount() Required. The AdSpot objects to update.
A maximum of 100 objects can be updated in a batch.
repeated .google.ads.admanager.v1.UpdateAdSpotRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
|
getRequestsList()
public List<UpdateAdSpotRequest> getRequestsList() Required. The AdSpot objects to update.
A maximum of 100 objects can be updated in a batch.
repeated .google.ads.admanager.v1.UpdateAdSpotRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<UpdateAdSpotRequest> |
|
getRequestsOrBuilder(int index)
public UpdateAdSpotRequestOrBuilder getRequestsOrBuilder(int index) Required. The AdSpot objects to update.
A maximum of 100 objects can be updated in a batch.
repeated .google.ads.admanager.v1.UpdateAdSpotRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
UpdateAdSpotRequestOrBuilder |
|
getRequestsOrBuilderList()
public List<? extends UpdateAdSpotRequestOrBuilder> getRequestsOrBuilderList() Required. The AdSpot objects to update.
A maximum of 100 objects can be updated in a batch.
repeated .google.ads.admanager.v1.UpdateAdSpotRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.ads.admanager.v1.UpdateAdSpotRequestOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(BatchUpdateAdSpotsRequest other)
public BatchUpdateAdSpotsRequest.Builder mergeFrom(BatchUpdateAdSpotsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
BatchUpdateAdSpotsRequest |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateAdSpotsRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BatchUpdateAdSpotsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateAdSpotsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BatchUpdateAdSpotsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateAdSpotsRequest.Builder |
|
removeRequests(int index)
public BatchUpdateAdSpotsRequest.Builder removeRequests(int index) Required. The AdSpot objects to update.
A maximum of 100 objects can be updated in a batch.
repeated .google.ads.admanager.v1.UpdateAdSpotRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateAdSpotsRequest.Builder |
|
setParent(String value)
public BatchUpdateAdSpotsRequest.Builder setParent(String value) Required. The parent resource where AdSpots will be updated.
Format: networks/{network_code}
The parent field in the UpdateAdSpotRequest must match this
field.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateAdSpotsRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public BatchUpdateAdSpotsRequest.Builder setParentBytes(ByteString value) Required. The parent resource where AdSpots will be updated.
Format: networks/{network_code}
The parent field in the UpdateAdSpotRequest must match this
field.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateAdSpotsRequest.Builder |
This builder for chaining. |
setRequests(int index, UpdateAdSpotRequest value)
public BatchUpdateAdSpotsRequest.Builder setRequests(int index, UpdateAdSpotRequest value) Required. The AdSpot objects to update.
A maximum of 100 objects can be updated in a batch.
repeated .google.ads.admanager.v1.UpdateAdSpotRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
UpdateAdSpotRequest |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateAdSpotsRequest.Builder |
|
setRequests(int index, UpdateAdSpotRequest.Builder builderForValue)
public BatchUpdateAdSpotsRequest.Builder setRequests(int index, UpdateAdSpotRequest.Builder builderForValue) Required. The AdSpot objects to update.
A maximum of 100 objects can be updated in a batch.
repeated .google.ads.admanager.v1.UpdateAdSpotRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
UpdateAdSpotRequest.Builder |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateAdSpotsRequest.Builder |
|