Package com.google.cloud.translate.v3
Class ListGlossariesResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListGlossariesResponse.Builder>
com.google.cloud.translate.v3.ListGlossariesResponse.Builder
- All Implemented Interfaces:
ListGlossariesResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListGlossariesResponse
public static final class ListGlossariesResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListGlossariesResponse.Builder>
implements ListGlossariesResponseOrBuilder
Response message for ListGlossaries.Protobuf type
google.cloud.translation.v3.ListGlossariesResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllGlossaries(Iterable<? extends Glossary> values) The list of glossaries for a project.addGlossaries(int index, Glossary value) The list of glossaries for a project.addGlossaries(int index, Glossary.Builder builderForValue) The list of glossaries for a project.addGlossaries(Glossary value) The list of glossaries for a project.addGlossaries(Glossary.Builder builderForValue) The list of glossaries for a project.The list of glossaries for a project.addGlossariesBuilder(int index) The list of glossaries for a project.build()clear()The list of glossaries for a project.A token to retrieve a page of results.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetGlossaries(int index) The list of glossaries for a project.getGlossariesBuilder(int index) The list of glossaries for a project.The list of glossaries for a project.intThe list of glossaries for a project.The list of glossaries for a project.getGlossariesOrBuilder(int index) The list of glossaries for a project.List<? extends GlossaryOrBuilder>The list of glossaries for a project.A token to retrieve a page of results.com.google.protobuf.ByteStringA token to retrieve a page of results.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ListGlossariesResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeGlossaries(int index) The list of glossaries for a project.setGlossaries(int index, Glossary value) The list of glossaries for a project.setGlossaries(int index, Glossary.Builder builderForValue) The list of glossaries for a project.setNextPageToken(String value) A token to retrieve a page of results.setNextPageTokenBytes(com.google.protobuf.ByteString value) A token to retrieve a page of results.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ListGlossariesResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ListGlossariesResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ListGlossariesResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListGlossariesResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListGlossariesResponse.Builder>
-
mergeFrom
public ListGlossariesResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListGlossariesResponse.Builder>- Throws:
IOException
-
getGlossariesList
The list of glossaries for a project.
repeated .google.cloud.translation.v3.Glossary glossaries = 1;- Specified by:
getGlossariesListin interfaceListGlossariesResponseOrBuilder
-
getGlossariesCount
public int getGlossariesCount()The list of glossaries for a project.
repeated .google.cloud.translation.v3.Glossary glossaries = 1;- Specified by:
getGlossariesCountin interfaceListGlossariesResponseOrBuilder
-
getGlossaries
The list of glossaries for a project.
repeated .google.cloud.translation.v3.Glossary glossaries = 1;- Specified by:
getGlossariesin interfaceListGlossariesResponseOrBuilder
-
setGlossaries
The list of glossaries for a project.
repeated .google.cloud.translation.v3.Glossary glossaries = 1; -
setGlossaries
The list of glossaries for a project.
repeated .google.cloud.translation.v3.Glossary glossaries = 1; -
addGlossaries
The list of glossaries for a project.
repeated .google.cloud.translation.v3.Glossary glossaries = 1; -
addGlossaries
The list of glossaries for a project.
repeated .google.cloud.translation.v3.Glossary glossaries = 1; -
addGlossaries
The list of glossaries for a project.
repeated .google.cloud.translation.v3.Glossary glossaries = 1; -
addGlossaries
The list of glossaries for a project.
repeated .google.cloud.translation.v3.Glossary glossaries = 1; -
addAllGlossaries
The list of glossaries for a project.
repeated .google.cloud.translation.v3.Glossary glossaries = 1; -
clearGlossaries
The list of glossaries for a project.
repeated .google.cloud.translation.v3.Glossary glossaries = 1; -
removeGlossaries
The list of glossaries for a project.
repeated .google.cloud.translation.v3.Glossary glossaries = 1; -
getGlossariesBuilder
The list of glossaries for a project.
repeated .google.cloud.translation.v3.Glossary glossaries = 1; -
getGlossariesOrBuilder
The list of glossaries for a project.
repeated .google.cloud.translation.v3.Glossary glossaries = 1;- Specified by:
getGlossariesOrBuilderin interfaceListGlossariesResponseOrBuilder
-
getGlossariesOrBuilderList
The list of glossaries for a project.
repeated .google.cloud.translation.v3.Glossary glossaries = 1;- Specified by:
getGlossariesOrBuilderListin interfaceListGlossariesResponseOrBuilder
-
addGlossariesBuilder
The list of glossaries for a project.
repeated .google.cloud.translation.v3.Glossary glossaries = 1; -
addGlossariesBuilder
The list of glossaries for a project.
repeated .google.cloud.translation.v3.Glossary glossaries = 1; -
getGlossariesBuilderList
The list of glossaries for a project.
repeated .google.cloud.translation.v3.Glossary glossaries = 1; -
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;- Specified by:
getNextPageTokenin interfaceListGlossariesResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.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;- Specified by:
getNextPageTokenBytesin interfaceListGlossariesResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
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;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
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:
- This builder for chaining.
-
setNextPageTokenBytes
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;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-