public static final class ListGlossaryEntriesResponse.Builder extends GeneratedMessageV3.Builder<ListGlossaryEntriesResponse.Builder> implements ListGlossaryEntriesResponseOrBuilder
Response message for ListGlossaryEntries
Protobuf type google.cloud.translation.v3.ListGlossaryEntriesResponse
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
addAllGlossaryEntries(Iterable<? extends GlossaryEntry> values)
public ListGlossaryEntriesResponse.Builder addAllGlossaryEntries(Iterable<? extends GlossaryEntry> values)
Optional. The Glossary Entries
repeated .google.cloud.translation.v3.GlossaryEntry glossary_entries = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.translate.v3.GlossaryEntry>
|
addGlossaryEntries(GlossaryEntry value)
public ListGlossaryEntriesResponse.Builder addGlossaryEntries(GlossaryEntry value)
Optional. The Glossary Entries
repeated .google.cloud.translation.v3.GlossaryEntry glossary_entries = 1 [(.google.api.field_behavior) = OPTIONAL];
addGlossaryEntries(GlossaryEntry.Builder builderForValue)
public ListGlossaryEntriesResponse.Builder addGlossaryEntries(GlossaryEntry.Builder builderForValue)
Optional. The Glossary Entries
repeated .google.cloud.translation.v3.GlossaryEntry glossary_entries = 1 [(.google.api.field_behavior) = OPTIONAL];
addGlossaryEntries(int index, GlossaryEntry value)
public ListGlossaryEntriesResponse.Builder addGlossaryEntries(int index, GlossaryEntry value)
Optional. The Glossary Entries
repeated .google.cloud.translation.v3.GlossaryEntry glossary_entries = 1 [(.google.api.field_behavior) = OPTIONAL];
addGlossaryEntries(int index, GlossaryEntry.Builder builderForValue)
public ListGlossaryEntriesResponse.Builder addGlossaryEntries(int index, GlossaryEntry.Builder builderForValue)
Optional. The Glossary Entries
repeated .google.cloud.translation.v3.GlossaryEntry glossary_entries = 1 [(.google.api.field_behavior) = OPTIONAL];
addGlossaryEntriesBuilder()
public GlossaryEntry.Builder addGlossaryEntriesBuilder()
Optional. The Glossary Entries
repeated .google.cloud.translation.v3.GlossaryEntry glossary_entries = 1 [(.google.api.field_behavior) = OPTIONAL];
addGlossaryEntriesBuilder(int index)
public GlossaryEntry.Builder addGlossaryEntriesBuilder(int index)
Optional. The Glossary Entries
repeated .google.cloud.translation.v3.GlossaryEntry glossary_entries = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListGlossaryEntriesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListGlossaryEntriesResponse build()
buildPartial()
public ListGlossaryEntriesResponse buildPartial()
clear()
public ListGlossaryEntriesResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListGlossaryEntriesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearGlossaryEntries()
public ListGlossaryEntriesResponse.Builder clearGlossaryEntries()
Optional. The Glossary Entries
repeated .google.cloud.translation.v3.GlossaryEntry glossary_entries = 1 [(.google.api.field_behavior) = OPTIONAL];
clearNextPageToken()
public ListGlossaryEntriesResponse.Builder clearNextPageToken()
Optional. A token to retrieve a page of results. Pass this value in the
[ListGLossaryEntriesRequest.page_token] field in the subsequent calls.
string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
clearOneof(Descriptors.OneofDescriptor oneof)
public ListGlossaryEntriesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListGlossaryEntriesResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListGlossaryEntriesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getGlossaryEntries(int index)
public GlossaryEntry getGlossaryEntries(int index)
Optional. The Glossary Entries
repeated .google.cloud.translation.v3.GlossaryEntry glossary_entries = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
getGlossaryEntriesBuilder(int index)
public GlossaryEntry.Builder getGlossaryEntriesBuilder(int index)
Optional. The Glossary Entries
repeated .google.cloud.translation.v3.GlossaryEntry glossary_entries = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
getGlossaryEntriesBuilderList()
public List<GlossaryEntry.Builder> getGlossaryEntriesBuilderList()
Optional. The Glossary Entries
repeated .google.cloud.translation.v3.GlossaryEntry glossary_entries = 1 [(.google.api.field_behavior) = OPTIONAL];
getGlossaryEntriesCount()
public int getGlossaryEntriesCount()
Optional. The Glossary Entries
repeated .google.cloud.translation.v3.GlossaryEntry glossary_entries = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
|
getGlossaryEntriesList()
public List<GlossaryEntry> getGlossaryEntriesList()
Optional. The Glossary Entries
repeated .google.cloud.translation.v3.GlossaryEntry glossary_entries = 1 [(.google.api.field_behavior) = OPTIONAL];
getGlossaryEntriesOrBuilder(int index)
public GlossaryEntryOrBuilder getGlossaryEntriesOrBuilder(int index)
Optional. The Glossary Entries
repeated .google.cloud.translation.v3.GlossaryEntry glossary_entries = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
getGlossaryEntriesOrBuilderList()
public List<? extends GlossaryEntryOrBuilder> getGlossaryEntriesOrBuilderList()
Optional. The Glossary Entries
repeated .google.cloud.translation.v3.GlossaryEntry glossary_entries = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
List<? extends com.google.cloud.translate.v3.GlossaryEntryOrBuilder> |
|
getNextPageToken()
public String getNextPageToken()
Optional. A token to retrieve a page of results. Pass this value in the
[ListGLossaryEntriesRequest.page_token] field in the subsequent calls.
string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
Optional. A token to retrieve a page of results. Pass this value in the
[ListGLossaryEntriesRequest.page_token] field in the subsequent calls.
string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for nextPageToken.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListGlossaryEntriesResponse other)
public ListGlossaryEntriesResponse.Builder mergeFrom(ListGlossaryEntriesResponse other)
public ListGlossaryEntriesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListGlossaryEntriesResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListGlossaryEntriesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeGlossaryEntries(int index)
public ListGlossaryEntriesResponse.Builder removeGlossaryEntries(int index)
Optional. The Glossary Entries
repeated .google.cloud.translation.v3.GlossaryEntry glossary_entries = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListGlossaryEntriesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setGlossaryEntries(int index, GlossaryEntry value)
public ListGlossaryEntriesResponse.Builder setGlossaryEntries(int index, GlossaryEntry value)
Optional. The Glossary Entries
repeated .google.cloud.translation.v3.GlossaryEntry glossary_entries = 1 [(.google.api.field_behavior) = OPTIONAL];
setGlossaryEntries(int index, GlossaryEntry.Builder builderForValue)
public ListGlossaryEntriesResponse.Builder setGlossaryEntries(int index, GlossaryEntry.Builder builderForValue)
Optional. The Glossary Entries
repeated .google.cloud.translation.v3.GlossaryEntry glossary_entries = 1 [(.google.api.field_behavior) = OPTIONAL];
setNextPageToken(String value)
public ListGlossaryEntriesResponse.Builder setNextPageToken(String value)
Optional. A token to retrieve a page of results. Pass this value in the
[ListGLossaryEntriesRequest.page_token] field in the subsequent calls.
string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ListGlossaryEntriesResponse.Builder setNextPageTokenBytes(ByteString value)
Optional. A token to retrieve a page of results. Pass this value in the
[ListGLossaryEntriesRequest.page_token] field in the subsequent calls.
string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
ByteString
The bytes for nextPageToken to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListGlossaryEntriesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListGlossaryEntriesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides