Class BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction (0.62.0)

public static final class BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction extends GeneratedMessage implements BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelActionOrBuilder

Actions to perform on custom labels for batch updates.

Protobuf type google.ads.admanager.v1.BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction

Static Fields

LABEL_IDS_FIELD_NUMBER

public static final int LABEL_IDS_FIELD_NUMBER
Field Value
Type Description
int

NAMES_FIELD_NUMBER

public static final int NAMES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction getDefaultInstance()
Returns
Type Description
BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction.Builder newBuilder()
Returns
Type Description
BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction.Builder

newBuilder(BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction prototype)

public static BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction.Builder newBuilder(BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction prototype)
Parameter
Name Description
prototype BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction
Returns
Type Description
BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction.Builder

parseDelimitedFrom(InputStream input)

public static BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction> parser()
Returns
Type Description
Parser<BatchLabelAction>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction getDefaultInstanceForType()
Returns
Type Description
BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction

getLabelIds(int index)

public String getLabelIds(int index)

Required. The labelId to add or remove.

repeated string label_ids = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The labelIds at the given index.

getLabelIdsBytes(int index)

public ByteString getLabelIdsBytes(int index)

Required. The labelId to add or remove.

repeated string label_ids = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the labelIds at the given index.

getLabelIdsCount()

public int getLabelIdsCount()

Required. The labelId to add or remove.

repeated string label_ids = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of labelIds.

getLabelIdsList()

public ProtocolStringList getLabelIdsList()

Required. The labelId to add or remove.

repeated string label_ids = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ProtocolStringList

A list containing the labelIds.

getNames(int index)

public String getNames(int index)

Required. The resource names of the AdReviewCenterAds to update. Format: networks/{network_code}/webProperties/{web_property_code}/adReviewCenterAds/{ad_review_center_ad_id}

repeated string names = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The names at the given index.

getNamesBytes(int index)

public ByteString getNamesBytes(int index)

Required. The resource names of the AdReviewCenterAds to update. Format: networks/{network_code}/webProperties/{web_property_code}/adReviewCenterAds/{ad_review_center_ad_id}

repeated string names = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the names at the given index.

getNamesCount()

public int getNamesCount()

Required. The resource names of the AdReviewCenterAds to update. Format: networks/{network_code}/webProperties/{web_property_code}/adReviewCenterAds/{ad_review_center_ad_id}

repeated string names = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
int

The count of names.

getNamesList()

public ProtocolStringList getNamesList()

Required. The resource names of the AdReviewCenterAds to update. Format: networks/{network_code}/webProperties/{web_property_code}/adReviewCenterAds/{ad_review_center_ad_id}

repeated string names = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ProtocolStringList

A list containing the names.

getParserForType()

public Parser<BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction> getParserForType()
Returns
Type Description
Parser<BatchLabelAction>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction.Builder newBuilderForType()
Returns
Type Description
BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction.Builder
Overrides

toBuilder()

public BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction.Builder toBuilder()
Returns
Type Description
BatchApplyAdReviewCenterCustomLabelsRequest.BatchLabelAction.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException