public final class ListGlossariesResponse extends GeneratedMessageV3 implements ListGlossariesResponseOrBuilder
Response message for ListGlossaries.
Protobuf type google.cloud.translation.v3.ListGlossariesResponse
Static Fields
GLOSSARIES_FIELD_NUMBER
public static final int GLOSSARIES_FIELD_NUMBER
Field Value
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ListGlossariesResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ListGlossariesResponse.Builder newBuilder()
Returns
newBuilder(ListGlossariesResponse prototype)
public static ListGlossariesResponse.Builder newBuilder(ListGlossariesResponse prototype)
Parameter
Returns
public static ListGlossariesResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListGlossariesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ListGlossariesResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListGlossariesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ListGlossariesResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListGlossariesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListGlossariesResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ListGlossariesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListGlossariesResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListGlossariesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ListGlossariesResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListGlossariesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ListGlossariesResponse> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ListGlossariesResponse getDefaultInstanceForType()
Returns
getGlossaries(int index)
public Glossary getGlossaries(int index)
The list of glossaries for a project.
repeated .google.cloud.translation.v3.Glossary glossaries = 1;
Parameter
Returns
getGlossariesCount()
public int getGlossariesCount()
The list of glossaries for a project.
repeated .google.cloud.translation.v3.Glossary glossaries = 1;
Returns
getGlossariesList()
public List<Glossary> getGlossariesList()
The list of glossaries for a project.
repeated .google.cloud.translation.v3.Glossary glossaries = 1;
Returns
getGlossariesOrBuilder(int index)
public GlossaryOrBuilder getGlossariesOrBuilder(int index)
The list of glossaries for a project.
repeated .google.cloud.translation.v3.Glossary glossaries = 1;
Parameter
Returns
getGlossariesOrBuilderList()
public List<? extends GlossaryOrBuilder> getGlossariesOrBuilderList()
The list of glossaries for a project.
repeated .google.cloud.translation.v3.Glossary glossaries = 1;
Returns
Type | Description |
List<? extends com.google.cloud.translate.v3.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
Type | Description |
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
Type | Description |
ByteString | The bytes for nextPageToken.
|
getParserForType()
public Parser<ListGlossariesResponse> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ListGlossariesResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListGlossariesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ListGlossariesResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions