public static final class ListGlossariesResponse.Builder extends GeneratedMessageV3.Builder<ListGlossariesResponse.Builder> implements ListGlossariesResponseOrBuilder
Response message for ListGlossaries.
Protobuf type google.cloud.translation.v3beta1.ListGlossariesResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllGlossaries(Iterable<? extends Glossary> values)
public ListGlossariesResponse.Builder addAllGlossaries(Iterable<? extends Glossary> values)
The list of glossaries for a project.
repeated .google.cloud.translation.v3beta1.Glossary glossaries = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.translate.v3beta1.Glossary>
|
Returns
addGlossaries(Glossary value)
public ListGlossariesResponse.Builder addGlossaries(Glossary value)
The list of glossaries for a project.
repeated .google.cloud.translation.v3beta1.Glossary glossaries = 1;
Parameter
Returns
addGlossaries(Glossary.Builder builderForValue)
public ListGlossariesResponse.Builder addGlossaries(Glossary.Builder builderForValue)
The list of glossaries for a project.
repeated .google.cloud.translation.v3beta1.Glossary glossaries = 1;
Parameter
Returns
addGlossaries(int index, Glossary value)
public ListGlossariesResponse.Builder addGlossaries(int index, Glossary value)
The list of glossaries for a project.
repeated .google.cloud.translation.v3beta1.Glossary glossaries = 1;
Parameters
Returns
addGlossaries(int index, Glossary.Builder builderForValue)
public ListGlossariesResponse.Builder addGlossaries(int index, Glossary.Builder builderForValue)
The list of glossaries for a project.
repeated .google.cloud.translation.v3beta1.Glossary glossaries = 1;
Parameters
Returns
addGlossariesBuilder()
public Glossary.Builder addGlossariesBuilder()
The list of glossaries for a project.
repeated .google.cloud.translation.v3beta1.Glossary glossaries = 1;
Returns
addGlossariesBuilder(int index)
public Glossary.Builder addGlossariesBuilder(int index)
The list of glossaries for a project.
repeated .google.cloud.translation.v3beta1.Glossary glossaries = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListGlossariesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListGlossariesResponse build()
Returns
buildPartial()
public ListGlossariesResponse buildPartial()
Returns
clear()
public ListGlossariesResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListGlossariesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearGlossaries()
public ListGlossariesResponse.Builder clearGlossaries()
The list of glossaries for a project.
repeated .google.cloud.translation.v3beta1.Glossary glossaries = 1;
Returns
clearNextPageToken()
public ListGlossariesResponse.Builder 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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListGlossariesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListGlossariesResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListGlossariesResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getGlossaries(int index)
public Glossary getGlossaries(int index)
The list of glossaries for a project.
repeated .google.cloud.translation.v3beta1.Glossary glossaries = 1;
Parameter
Returns
getGlossariesBuilder(int index)
public Glossary.Builder getGlossariesBuilder(int index)
The list of glossaries for a project.
repeated .google.cloud.translation.v3beta1.Glossary glossaries = 1;
Parameter
Returns
getGlossariesBuilderList()
public List<Glossary.Builder> getGlossariesBuilderList()
The list of glossaries for a project.
repeated .google.cloud.translation.v3beta1.Glossary glossaries = 1;
Returns
getGlossariesCount()
public int getGlossariesCount()
The list of glossaries for a project.
repeated .google.cloud.translation.v3beta1.Glossary glossaries = 1;
Returns
getGlossariesList()
public List<Glossary> getGlossariesList()
The list of glossaries for a project.
repeated .google.cloud.translation.v3beta1.Glossary glossaries = 1;
Returns
getGlossariesOrBuilder(int index)
public GlossaryOrBuilder getGlossariesOrBuilder(int index)
The list of glossaries for a project.
repeated .google.cloud.translation.v3beta1.Glossary glossaries = 1;
Parameter
Returns
getGlossariesOrBuilderList()
public List<? extends GlossaryOrBuilder> getGlossariesOrBuilderList()
The list of glossaries for a project.
repeated .google.cloud.translation.v3beta1.Glossary glossaries = 1;
Returns
Type | Description |
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
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListGlossariesResponse other)
public ListGlossariesResponse.Builder mergeFrom(ListGlossariesResponse other)
Parameter
Returns
public ListGlossariesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListGlossariesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListGlossariesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeGlossaries(int index)
public ListGlossariesResponse.Builder removeGlossaries(int index)
The list of glossaries for a project.
repeated .google.cloud.translation.v3beta1.Glossary glossaries = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListGlossariesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setGlossaries(int index, Glossary value)
public ListGlossariesResponse.Builder setGlossaries(int index, Glossary value)
The list of glossaries for a project.
repeated .google.cloud.translation.v3beta1.Glossary glossaries = 1;
Parameters
Returns
setGlossaries(int index, Glossary.Builder builderForValue)
public ListGlossariesResponse.Builder setGlossaries(int index, Glossary.Builder builderForValue)
The list of glossaries for a project.
repeated .google.cloud.translation.v3beta1.Glossary glossaries = 1;
Parameters
Returns
setNextPageToken(String value)
public ListGlossariesResponse.Builder setNextPageToken(String value)
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;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListGlossariesResponse.Builder setNextPageTokenBytes(ByteString value)
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;
Parameter
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListGlossariesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListGlossariesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides