Class ListGlossariesResponse (2.5.0)

public final class ListGlossariesResponse extends GeneratedMessageV3 implements ListGlossariesResponseOrBuilder

Response message for ListGlossaries.

Protobuf type google.cloud.translation.v3beta1.ListGlossariesResponse

Static Fields

GLOSSARIES_FIELD_NUMBER

public static final int GLOSSARIES_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 ListGlossariesResponse getDefaultInstance()
Returns
TypeDescription
ListGlossariesResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListGlossariesResponse prototype)

public static ListGlossariesResponse.Builder newBuilder(ListGlossariesResponse prototype)
Parameter
NameDescription
prototypeListGlossariesResponse
Returns
TypeDescription
ListGlossariesResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListGlossariesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListGlossariesResponse

getGlossaries(int index)

public Glossary getGlossaries(int index)

The list of glossaries for a project.

repeated .google.cloud.translation.v3beta1.Glossary glossaries = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Glossary

getGlossariesCount()

public int getGlossariesCount()

The list of glossaries for a project.

repeated .google.cloud.translation.v3beta1.Glossary glossaries = 1;

Returns
TypeDescription
int

getGlossariesList()

public List<Glossary> getGlossariesList()

The list of glossaries for a project.

repeated .google.cloud.translation.v3beta1.Glossary glossaries = 1;

Returns
TypeDescription
List<Glossary>

getGlossariesOrBuilder(int index)

public GlossaryOrBuilder getGlossariesOrBuilder(int index)

The list of glossaries for a project.

repeated .google.cloud.translation.v3beta1.Glossary glossaries = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
GlossaryOrBuilder

getGlossariesOrBuilderList()

public List<? extends GlossaryOrBuilder> getGlossariesOrBuilderList()

The list of glossaries for a project.

repeated .google.cloud.translation.v3beta1.Glossary glossaries = 1;

Returns
TypeDescription
List<? extends com.google.cloud.translate.v3beta1.GlossaryOrBuilder>

getNextPageToken()

public String getNextPageToken()

A token to retrieve a page of results. Pass this value in the [ListGlossariesRequest.page_token] field in the subsequent call to ListGlossaries method to retrieve the next page of results.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to retrieve a page of results. Pass this value in the [ListGlossariesRequest.page_token] field in the subsequent call to ListGlossaries method to retrieve the next page of results.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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 ListGlossariesResponse.Builder newBuilderForType()
Returns
TypeDescription
ListGlossariesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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