Class ListAccountLabelsResponse (0.5.0)

public final class ListAccountLabelsResponse extends GeneratedMessageV3 implements ListAccountLabelsResponseOrBuilder

Response message for the ListAccountLabels method.

Protobuf type google.shopping.css.v1.ListAccountLabelsResponse

Static Fields

ACCOUNT_LABELS_FIELD_NUMBER

public static final int ACCOUNT_LABELS_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListAccountLabelsResponse getDefaultInstance()
Returns
TypeDescription
ListAccountLabelsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListAccountLabelsResponse.Builder newBuilder()
Returns
TypeDescription
ListAccountLabelsResponse.Builder

newBuilder(ListAccountLabelsResponse prototype)

public static ListAccountLabelsResponse.Builder newBuilder(ListAccountLabelsResponse prototype)
Parameter
NameDescription
prototypeListAccountLabelsResponse
Returns
TypeDescription
ListAccountLabelsResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListAccountLabelsResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListAccountLabelsResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListAccountLabelsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListAccountLabelsResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListAccountLabelsResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListAccountLabelsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListAccountLabelsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListAccountLabelsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListAccountLabelsResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListAccountLabelsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListAccountLabelsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListAccountLabelsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListAccountLabelsResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListAccountLabelsResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListAccountLabelsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListAccountLabelsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListAccountLabelsResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListAccountLabelsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListAccountLabelsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListAccountLabelsResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListAccountLabelsResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListAccountLabelsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListAccountLabelsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListAccountLabelsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListAccountLabelsResponse> parser()
Returns
TypeDescription
Parser<ListAccountLabelsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAccountLabels(int index)

public AccountLabel getAccountLabels(int index)

The labels from the specified account.

repeated .google.shopping.css.v1.AccountLabel account_labels = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AccountLabel

getAccountLabelsCount()

public int getAccountLabelsCount()

The labels from the specified account.

repeated .google.shopping.css.v1.AccountLabel account_labels = 1;

Returns
TypeDescription
int

getAccountLabelsList()

public List<AccountLabel> getAccountLabelsList()

The labels from the specified account.

repeated .google.shopping.css.v1.AccountLabel account_labels = 1;

Returns
TypeDescription
List<AccountLabel>

getAccountLabelsOrBuilder(int index)

public AccountLabelOrBuilder getAccountLabelsOrBuilder(int index)

The labels from the specified account.

repeated .google.shopping.css.v1.AccountLabel account_labels = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AccountLabelOrBuilder

getAccountLabelsOrBuilderList()

public List<? extends AccountLabelOrBuilder> getAccountLabelsOrBuilderList()

The labels from the specified account.

repeated .google.shopping.css.v1.AccountLabel account_labels = 1;

Returns
TypeDescription
List<? extends com.google.shopping.css.v1.AccountLabelOrBuilder>

getDefaultInstanceForType()

public ListAccountLabelsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListAccountLabelsResponse

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListAccountLabelsResponse> getParserForType()
Returns
TypeDescription
Parser<ListAccountLabelsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListAccountLabelsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListAccountLabelsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListAccountLabelsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListAccountLabelsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListAccountLabelsResponse.Builder toBuilder()
Returns
TypeDescription
ListAccountLabelsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException