Class FetchAdReviewCenterCustomLabelsResponse.CustomLabel (0.62.0)

public static final class FetchAdReviewCenterCustomLabelsResponse.CustomLabel extends GeneratedMessage implements FetchAdReviewCenterCustomLabelsResponse.CustomLabelOrBuilder

A custom label for an Ad Review Center ad. Custom labels can help you filter and find creatives with the associated label. For more information, see https://support.google.com/admanager/answer/13812863.

Protobuf type google.ads.admanager.v1.FetchAdReviewCenterCustomLabelsResponse.CustomLabel

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > FetchAdReviewCenterCustomLabelsResponse.CustomLabel

Static Fields

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

LABEL_ID_FIELD_NUMBER

public static final int LABEL_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FetchAdReviewCenterCustomLabelsResponse.CustomLabel getDefaultInstance()
Returns
Type Description
FetchAdReviewCenterCustomLabelsResponse.CustomLabel

getDescriptor()

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

newBuilder()

public static FetchAdReviewCenterCustomLabelsResponse.CustomLabel.Builder newBuilder()
Returns
Type Description
FetchAdReviewCenterCustomLabelsResponse.CustomLabel.Builder

newBuilder(FetchAdReviewCenterCustomLabelsResponse.CustomLabel prototype)

public static FetchAdReviewCenterCustomLabelsResponse.CustomLabel.Builder newBuilder(FetchAdReviewCenterCustomLabelsResponse.CustomLabel prototype)
Parameter
Name Description
prototype FetchAdReviewCenterCustomLabelsResponse.CustomLabel
Returns
Type Description
FetchAdReviewCenterCustomLabelsResponse.CustomLabel.Builder

parseDelimitedFrom(InputStream input)

public static FetchAdReviewCenterCustomLabelsResponse.CustomLabel parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FetchAdReviewCenterCustomLabelsResponse.CustomLabel
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static FetchAdReviewCenterCustomLabelsResponse.CustomLabel parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
FetchAdReviewCenterCustomLabelsResponse.CustomLabel
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static FetchAdReviewCenterCustomLabelsResponse.CustomLabel parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
FetchAdReviewCenterCustomLabelsResponse.CustomLabel
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static FetchAdReviewCenterCustomLabelsResponse.CustomLabel parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FetchAdReviewCenterCustomLabelsResponse.CustomLabel
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static FetchAdReviewCenterCustomLabelsResponse.CustomLabel parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
FetchAdReviewCenterCustomLabelsResponse.CustomLabel
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<FetchAdReviewCenterCustomLabelsResponse.CustomLabel> parser()
Returns
Type Description
Parser<CustomLabel>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public FetchAdReviewCenterCustomLabelsResponse.CustomLabel getDefaultInstanceForType()
Returns
Type Description
FetchAdReviewCenterCustomLabelsResponse.CustomLabel

getDisplayName()

public String getDisplayName()

Output only. The user-defined display name of the custom label.

string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Output only. The user-defined display name of the custom label.

string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for displayName.

getLabelId()

public String getLabelId()

Output only. The unique identifier of the custom label.

string label_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The labelId.

getLabelIdBytes()

public ByteString getLabelIdBytes()

Output only. The unique identifier of the custom label.

string label_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for labelId.

getParserForType()

public Parser<FetchAdReviewCenterCustomLabelsResponse.CustomLabel> getParserForType()
Returns
Type Description
Parser<CustomLabel>
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 FetchAdReviewCenterCustomLabelsResponse.CustomLabel.Builder newBuilderForType()
Returns
Type Description
FetchAdReviewCenterCustomLabelsResponse.CustomLabel.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected FetchAdReviewCenterCustomLabelsResponse.CustomLabel.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
FetchAdReviewCenterCustomLabelsResponse.CustomLabel.Builder
Overrides

toBuilder()

public FetchAdReviewCenterCustomLabelsResponse.CustomLabel.Builder toBuilder()
Returns
Type Description
FetchAdReviewCenterCustomLabelsResponse.CustomLabel.Builder

writeTo(CodedOutputStream output)

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