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