Class ListSynonymSetsResponse (0.13.0)

public final class ListSynonymSetsResponse extends GeneratedMessageV3 implements ListSynonymSetsResponseOrBuilder

Response message for SynonymSetService.ListSynonymSets.

Protobuf type google.cloud.contentwarehouse.v1.ListSynonymSetsResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

SYNONYM_SETS_FIELD_NUMBER

public static final int SYNONYM_SETS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListSynonymSetsResponse getDefaultInstance()
Returns
TypeDescription
ListSynonymSetsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListSynonymSetsResponse prototype)

public static ListSynonymSetsResponse.Builder newBuilder(ListSynonymSetsResponse prototype)
Parameter
NameDescription
prototypeListSynonymSetsResponse
Returns
TypeDescription
ListSynonymSetsResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListSynonymSetsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListSynonymSetsResponse

getNextPageToken()

public String getNextPageToken()

A page token, received from a previous ListSynonymSets call. Provide this to retrieve the subsequent page.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A page token, received from a previous ListSynonymSets call. Provide this to retrieve the subsequent page.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSynonymSets(int index)

public SynonymSet getSynonymSets(int index)

The synonymSets from the specified parent.

repeated .google.cloud.contentwarehouse.v1.SynonymSet synonym_sets = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SynonymSet

getSynonymSetsCount()

public int getSynonymSetsCount()

The synonymSets from the specified parent.

repeated .google.cloud.contentwarehouse.v1.SynonymSet synonym_sets = 1;

Returns
TypeDescription
int

getSynonymSetsList()

public List<SynonymSet> getSynonymSetsList()

The synonymSets from the specified parent.

repeated .google.cloud.contentwarehouse.v1.SynonymSet synonym_sets = 1;

Returns
TypeDescription
List<SynonymSet>

getSynonymSetsOrBuilder(int index)

public SynonymSetOrBuilder getSynonymSetsOrBuilder(int index)

The synonymSets from the specified parent.

repeated .google.cloud.contentwarehouse.v1.SynonymSet synonym_sets = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SynonymSetOrBuilder

getSynonymSetsOrBuilderList()

public List<? extends SynonymSetOrBuilder> getSynonymSetsOrBuilderList()

The synonymSets from the specified parent.

repeated .google.cloud.contentwarehouse.v1.SynonymSet synonym_sets = 1;

Returns
TypeDescription
List<? extends com.google.cloud.contentwarehouse.v1.SynonymSetOrBuilder>

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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 ListSynonymSetsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListSynonymSetsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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