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