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