Class BatchCreateLabelsResponse (0.52.0)

public final class BatchCreateLabelsResponse extends GeneratedMessage implements BatchCreateLabelsResponseOrBuilder

Response object for BatchCreateLabels method.

Protobuf type google.ads.admanager.v1.BatchCreateLabelsResponse

Static Fields

LABELS_FIELD_NUMBER

public static final int LABELS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BatchCreateLabelsResponse getDefaultInstance()
Returns
Type Description
BatchCreateLabelsResponse

getDescriptor()

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

newBuilder()

public static BatchCreateLabelsResponse.Builder newBuilder()
Returns
Type Description
BatchCreateLabelsResponse.Builder

newBuilder(BatchCreateLabelsResponse prototype)

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

parseDelimitedFrom(InputStream input)

public static BatchCreateLabelsResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BatchCreateLabelsResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static BatchCreateLabelsResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BatchCreateLabelsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static BatchCreateLabelsResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BatchCreateLabelsResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static BatchCreateLabelsResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BatchCreateLabelsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static BatchCreateLabelsResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BatchCreateLabelsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<BatchCreateLabelsResponse> parser()
Returns
Type Description
Parser<BatchCreateLabelsResponse>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public BatchCreateLabelsResponse getDefaultInstanceForType()
Returns
Type Description
BatchCreateLabelsResponse

getLabels(int index)

public Label getLabels(int index)

The Label objects created.

repeated .google.ads.admanager.v1.Label labels = 1;

Parameter
Name Description
index int
Returns
Type Description
Label

getLabelsCount()

public int getLabelsCount()

The Label objects created.

repeated .google.ads.admanager.v1.Label labels = 1;

Returns
Type Description
int

getLabelsList()

public List<Label> getLabelsList()

The Label objects created.

repeated .google.ads.admanager.v1.Label labels = 1;

Returns
Type Description
List<Label>

getLabelsOrBuilder(int index)

public LabelOrBuilder getLabelsOrBuilder(int index)

The Label objects created.

repeated .google.ads.admanager.v1.Label labels = 1;

Parameter
Name Description
index int
Returns
Type Description
LabelOrBuilder

getLabelsOrBuilderList()

public List<? extends LabelOrBuilder> getLabelsOrBuilderList()

The Label objects created.

repeated .google.ads.admanager.v1.Label labels = 1;

Returns
Type Description
List<? extends com.google.ads.admanager.v1.LabelOrBuilder>

getParserForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

public BatchCreateLabelsResponse.Builder toBuilder()
Returns
Type Description
BatchCreateLabelsResponse.Builder

writeTo(CodedOutputStream output)

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