Class BatchApplyAdReviewCenterCustomLabelsRequest.Builder (0.62.0)

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

Static 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
Overrides

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
Overrides

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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

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 String

The 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 ByteString

The 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