public static final class BatchApplyAdReviewCenterCustomLabelsRequest.Builder extends GeneratedMessage.Builder<BatchApplyAdReviewCenterCustomLabelsRequest.Builder> implements BatchApplyAdReviewCenterCustomLabelsRequestOrBuilder Request object for BatchApplyAdReviewCenterCustomLabels method.
Protobuf type google.ads.admanager.v1.BatchApplyAdReviewCenterCustomLabelsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BatchApplyAdReviewCenterCustomLabelsRequest.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public BatchApplyAdReviewCenterCustomLabelsRequest build()| Returns | |
|---|---|
| Type | Description |
BatchApplyAdReviewCenterCustomLabelsRequest |
|
buildPartial()
public BatchApplyAdReviewCenterCustomLabelsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
BatchApplyAdReviewCenterCustomLabelsRequest |
|
clear()
public BatchApplyAdReviewCenterCustomLabelsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
BatchApplyAdReviewCenterCustomLabelsRequest.Builder |
|
clearAddLabels()
public BatchApplyAdReviewCenterCustomLabelsRequest.Builder clearAddLabels()Optional. Labels to add to the specified ads.
optional .google.ads.admanager.v1.BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction add_labels = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
BatchApplyAdReviewCenterCustomLabelsRequest.Builder |
|
clearParent()
public BatchApplyAdReviewCenterCustomLabelsRequest.Builder clearParent()Required. The parent, which owns this collection of AdReviewCenterAds. Format: networks/{network_code}/webProperties/{web_property_code}
Since a network can only have a single web property of each
ExchangeSyndicationProduct, you can use the
ExchangeSyndicationProduct as an alias for the web property code:
networks/{network_code}/webProperties/display
networks/{network_code}/webProperties/videoAndAudio
networks/{network_code}/webProperties/mobileApp
networks/{network_code}/webProperties/games
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
BatchApplyAdReviewCenterCustomLabelsRequest.Builder |
This builder for chaining. |
clearRemoveLabels()
public BatchApplyAdReviewCenterCustomLabelsRequest.Builder clearRemoveLabels()Optional. Labels to remove from the specified ads.
optional .google.ads.admanager.v1.BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction remove_labels = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
BatchApplyAdReviewCenterCustomLabelsRequest.Builder |
|
getAddLabels()
public BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction getAddLabels()Optional. Labels to add to the specified ads.
optional .google.ads.admanager.v1.BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction add_labels = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction |
The addLabels. |
getAddLabelsBuilder()
public BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction.Builder getAddLabelsBuilder()Optional. Labels to add to the specified ads.
optional .google.ads.admanager.v1.BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction add_labels = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction.Builder |
|
getAddLabelsOrBuilder()
public BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelActionOrBuilder getAddLabelsOrBuilder()Optional. Labels to add to the specified ads.
optional .google.ads.admanager.v1.BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction add_labels = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelActionOrBuilder |
|
getDefaultInstanceForType()
public BatchApplyAdReviewCenterCustomLabelsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BatchApplyAdReviewCenterCustomLabelsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent()Required. The parent, which owns this collection of AdReviewCenterAds. Format: networks/{network_code}/webProperties/{web_property_code}
Since a network can only have a single web property of each
ExchangeSyndicationProduct, you can use the
ExchangeSyndicationProduct as an alias for the web property code:
networks/{network_code}/webProperties/display
networks/{network_code}/webProperties/videoAndAudio
networks/{network_code}/webProperties/mobileApp
networks/{network_code}/webProperties/games
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, which owns this collection of AdReviewCenterAds. Format: networks/{network_code}/webProperties/{web_property_code}
Since a network can only have a single web property of each
ExchangeSyndicationProduct, you can use the
ExchangeSyndicationProduct as an alias for the web property code:
networks/{network_code}/webProperties/display
networks/{network_code}/webProperties/videoAndAudio
networks/{network_code}/webProperties/mobileApp
networks/{network_code}/webProperties/games
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getRemoveLabels()
public BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction getRemoveLabels()Optional. Labels to remove from the specified ads.
optional .google.ads.admanager.v1.BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction remove_labels = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction |
The removeLabels. |
getRemoveLabelsBuilder()
public BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction.Builder getRemoveLabelsBuilder()Optional. Labels to remove from the specified ads.
optional .google.ads.admanager.v1.BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction remove_labels = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction.Builder |
|
getRemoveLabelsOrBuilder()
public BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelActionOrBuilder getRemoveLabelsOrBuilder()Optional. Labels to remove from the specified ads.
optional .google.ads.admanager.v1.BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction remove_labels = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelActionOrBuilder |
|
hasAddLabels()
public boolean hasAddLabels()Optional. Labels to add to the specified ads.
optional .google.ads.admanager.v1.BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction add_labels = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the addLabels field is set. |
hasRemoveLabels()
public boolean hasRemoveLabels()Optional. Labels to remove from the specified ads.
optional .google.ads.admanager.v1.BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction remove_labels = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the removeLabels field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAddLabels(BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction value)
public BatchApplyAdReviewCenterCustomLabelsRequest.Builder mergeAddLabels(BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction value)Optional. Labels to add to the specified ads.
optional .google.ads.admanager.v1.BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction add_labels = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction |
| Returns | |
|---|---|
| Type | Description |
BatchApplyAdReviewCenterCustomLabelsRequest.Builder |
|
mergeFrom(BatchApplyAdReviewCenterCustomLabelsRequest other)
public BatchApplyAdReviewCenterCustomLabelsRequest.Builder mergeFrom(BatchApplyAdReviewCenterCustomLabelsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
BatchApplyAdReviewCenterCustomLabelsRequest |
| Returns | |
|---|---|
| Type | Description |
BatchApplyAdReviewCenterCustomLabelsRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BatchApplyAdReviewCenterCustomLabelsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BatchApplyAdReviewCenterCustomLabelsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BatchApplyAdReviewCenterCustomLabelsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BatchApplyAdReviewCenterCustomLabelsRequest.Builder |
|
mergeRemoveLabels(BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction value)
public BatchApplyAdReviewCenterCustomLabelsRequest.Builder mergeRemoveLabels(BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction value)Optional. Labels to remove from the specified ads.
optional .google.ads.admanager.v1.BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction remove_labels = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction |
| Returns | |
|---|---|
| Type | Description |
BatchApplyAdReviewCenterCustomLabelsRequest.Builder |
|
setAddLabels(BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction value)
public BatchApplyAdReviewCenterCustomLabelsRequest.Builder setAddLabels(BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction value)Optional. Labels to add to the specified ads.
optional .google.ads.admanager.v1.BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction add_labels = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction |
| Returns | |
|---|---|
| Type | Description |
BatchApplyAdReviewCenterCustomLabelsRequest.Builder |
|
setAddLabels(BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction.Builder builderForValue)
public BatchApplyAdReviewCenterCustomLabelsRequest.Builder setAddLabels(BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction.Builder builderForValue)Optional. Labels to add to the specified ads.
optional .google.ads.admanager.v1.BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction add_labels = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction.Builder |
| Returns | |
|---|---|
| Type | Description |
BatchApplyAdReviewCenterCustomLabelsRequest.Builder |
|
setParent(String value)
public BatchApplyAdReviewCenterCustomLabelsRequest.Builder setParent(String value)Required. The parent, which owns this collection of AdReviewCenterAds. Format: networks/{network_code}/webProperties/{web_property_code}
Since a network can only have a single web property of each
ExchangeSyndicationProduct, you can use the
ExchangeSyndicationProduct as an alias for the web property code:
networks/{network_code}/webProperties/display
networks/{network_code}/webProperties/videoAndAudio
networks/{network_code}/webProperties/mobileApp
networks/{network_code}/webProperties/games
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
BatchApplyAdReviewCenterCustomLabelsRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public BatchApplyAdReviewCenterCustomLabelsRequest.Builder setParentBytes(ByteString value)Required. The parent, which owns this collection of AdReviewCenterAds. Format: networks/{network_code}/webProperties/{web_property_code}
Since a network can only have a single web property of each
ExchangeSyndicationProduct, you can use the
ExchangeSyndicationProduct as an alias for the web property code:
networks/{network_code}/webProperties/display
networks/{network_code}/webProperties/videoAndAudio
networks/{network_code}/webProperties/mobileApp
networks/{network_code}/webProperties/games
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 |
BatchApplyAdReviewCenterCustomLabelsRequest.Builder |
This builder for chaining. |
setRemoveLabels(BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction value)
public BatchApplyAdReviewCenterCustomLabelsRequest.Builder setRemoveLabels(BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction value)Optional. Labels to remove from the specified ads.
optional .google.ads.admanager.v1.BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction remove_labels = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction |
| Returns | |
|---|---|
| Type | Description |
BatchApplyAdReviewCenterCustomLabelsRequest.Builder |
|
setRemoveLabels(BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction.Builder builderForValue)
public BatchApplyAdReviewCenterCustomLabelsRequest.Builder setRemoveLabels(BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction.Builder builderForValue)Optional. Labels to remove from the specified ads.
optional .google.ads.admanager.v1.BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction remove_labels = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction.Builder |
| Returns | |
|---|---|
| Type | Description |
BatchApplyAdReviewCenterCustomLabelsRequest.Builder |
|