public static final class ListPhraseSetsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListPhraseSetsResponse.Builder> implements ListPhraseSetsResponseOrBuilder
Response message for the [ListPhraseSets][google.cloud.speech.v2.Speech.ListPhraseSets] method.Protobuf type
google.cloud.speech.v2.ListPhraseSetsResponse| Modifier and Type | Method and Description |
|---|---|
ListPhraseSetsResponse.Builder |
addAllPhraseSets(Iterable<? extends PhraseSet> values)
The list of requested PhraseSets.
|
ListPhraseSetsResponse.Builder |
addPhraseSets(int index,
PhraseSet.Builder builderForValue)
The list of requested PhraseSets.
|
ListPhraseSetsResponse.Builder |
addPhraseSets(int index,
PhraseSet value)
The list of requested PhraseSets.
|
ListPhraseSetsResponse.Builder |
addPhraseSets(PhraseSet.Builder builderForValue)
The list of requested PhraseSets.
|
ListPhraseSetsResponse.Builder |
addPhraseSets(PhraseSet value)
The list of requested PhraseSets.
|
PhraseSet.Builder |
addPhraseSetsBuilder()
The list of requested PhraseSets.
|
PhraseSet.Builder |
addPhraseSetsBuilder(int index)
The list of requested PhraseSets.
|
ListPhraseSetsResponse |
build() |
ListPhraseSetsResponse |
buildPartial() |
ListPhraseSetsResponse.Builder |
clear() |
ListPhraseSetsResponse.Builder |
clearNextPageToken()
A token, which can be sent as
[page_token][google.cloud.speech.v2.ListPhraseSetsRequest.page_token] to
retrieve the next page.
|
ListPhraseSetsResponse.Builder |
clearPhraseSets()
The list of requested PhraseSets.
|
ListPhraseSetsResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getNextPageToken()
A token, which can be sent as
[page_token][google.cloud.speech.v2.ListPhraseSetsRequest.page_token] to
retrieve the next page.
|
com.google.protobuf.ByteString |
getNextPageTokenBytes()
A token, which can be sent as
[page_token][google.cloud.speech.v2.ListPhraseSetsRequest.page_token] to
retrieve the next page.
|
PhraseSet |
getPhraseSets(int index)
The list of requested PhraseSets.
|
PhraseSet.Builder |
getPhraseSetsBuilder(int index)
The list of requested PhraseSets.
|
List<PhraseSet.Builder> |
getPhraseSetsBuilderList()
The list of requested PhraseSets.
|
int |
getPhraseSetsCount()
The list of requested PhraseSets.
|
List<PhraseSet> |
getPhraseSetsList()
The list of requested PhraseSets.
|
PhraseSetOrBuilder |
getPhraseSetsOrBuilder(int index)
The list of requested PhraseSets.
|
List<? extends PhraseSetOrBuilder> |
getPhraseSetsOrBuilderList()
The list of requested PhraseSets.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListPhraseSetsResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListPhraseSetsResponse.Builder |
mergeFrom(ListPhraseSetsResponse other) |
ListPhraseSetsResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListPhraseSetsResponse.Builder |
removePhraseSets(int index)
The list of requested PhraseSets.
|
ListPhraseSetsResponse.Builder |
setNextPageToken(String value)
A token, which can be sent as
[page_token][google.cloud.speech.v2.ListPhraseSetsRequest.page_token] to
retrieve the next page.
|
ListPhraseSetsResponse.Builder |
setNextPageTokenBytes(com.google.protobuf.ByteString value)
A token, which can be sent as
[page_token][google.cloud.speech.v2.ListPhraseSetsRequest.page_token] to
retrieve the next page.
|
ListPhraseSetsResponse.Builder |
setPhraseSets(int index,
PhraseSet.Builder builderForValue)
The list of requested PhraseSets.
|
ListPhraseSetsResponse.Builder |
setPhraseSets(int index,
PhraseSet value)
The list of requested PhraseSets.
|
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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ListPhraseSetsResponse.Builder>public ListPhraseSetsResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<ListPhraseSetsResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ListPhraseSetsResponse.Builder>public ListPhraseSetsResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListPhraseSetsResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListPhraseSetsResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListPhraseSetsResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListPhraseSetsResponse.Builder>public ListPhraseSetsResponse.Builder mergeFrom(ListPhraseSetsResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<ListPhraseSetsResponse.Builder>public ListPhraseSetsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListPhraseSetsResponse.Builder>IOExceptionpublic List<PhraseSet> getPhraseSetsList()
The list of requested PhraseSets.
repeated .google.cloud.speech.v2.PhraseSet phrase_sets = 1;getPhraseSetsList in interface ListPhraseSetsResponseOrBuilderpublic int getPhraseSetsCount()
The list of requested PhraseSets.
repeated .google.cloud.speech.v2.PhraseSet phrase_sets = 1;getPhraseSetsCount in interface ListPhraseSetsResponseOrBuilderpublic PhraseSet getPhraseSets(int index)
The list of requested PhraseSets.
repeated .google.cloud.speech.v2.PhraseSet phrase_sets = 1;getPhraseSets in interface ListPhraseSetsResponseOrBuilderpublic ListPhraseSetsResponse.Builder setPhraseSets(int index, PhraseSet value)
The list of requested PhraseSets.
repeated .google.cloud.speech.v2.PhraseSet phrase_sets = 1;public ListPhraseSetsResponse.Builder setPhraseSets(int index, PhraseSet.Builder builderForValue)
The list of requested PhraseSets.
repeated .google.cloud.speech.v2.PhraseSet phrase_sets = 1;public ListPhraseSetsResponse.Builder addPhraseSets(PhraseSet value)
The list of requested PhraseSets.
repeated .google.cloud.speech.v2.PhraseSet phrase_sets = 1;public ListPhraseSetsResponse.Builder addPhraseSets(int index, PhraseSet value)
The list of requested PhraseSets.
repeated .google.cloud.speech.v2.PhraseSet phrase_sets = 1;public ListPhraseSetsResponse.Builder addPhraseSets(PhraseSet.Builder builderForValue)
The list of requested PhraseSets.
repeated .google.cloud.speech.v2.PhraseSet phrase_sets = 1;public ListPhraseSetsResponse.Builder addPhraseSets(int index, PhraseSet.Builder builderForValue)
The list of requested PhraseSets.
repeated .google.cloud.speech.v2.PhraseSet phrase_sets = 1;public ListPhraseSetsResponse.Builder addAllPhraseSets(Iterable<? extends PhraseSet> values)
The list of requested PhraseSets.
repeated .google.cloud.speech.v2.PhraseSet phrase_sets = 1;public ListPhraseSetsResponse.Builder clearPhraseSets()
The list of requested PhraseSets.
repeated .google.cloud.speech.v2.PhraseSet phrase_sets = 1;public ListPhraseSetsResponse.Builder removePhraseSets(int index)
The list of requested PhraseSets.
repeated .google.cloud.speech.v2.PhraseSet phrase_sets = 1;public PhraseSet.Builder getPhraseSetsBuilder(int index)
The list of requested PhraseSets.
repeated .google.cloud.speech.v2.PhraseSet phrase_sets = 1;public PhraseSetOrBuilder getPhraseSetsOrBuilder(int index)
The list of requested PhraseSets.
repeated .google.cloud.speech.v2.PhraseSet phrase_sets = 1;getPhraseSetsOrBuilder in interface ListPhraseSetsResponseOrBuilderpublic List<? extends PhraseSetOrBuilder> getPhraseSetsOrBuilderList()
The list of requested PhraseSets.
repeated .google.cloud.speech.v2.PhraseSet phrase_sets = 1;getPhraseSetsOrBuilderList in interface ListPhraseSetsResponseOrBuilderpublic PhraseSet.Builder addPhraseSetsBuilder()
The list of requested PhraseSets.
repeated .google.cloud.speech.v2.PhraseSet phrase_sets = 1;public PhraseSet.Builder addPhraseSetsBuilder(int index)
The list of requested PhraseSets.
repeated .google.cloud.speech.v2.PhraseSet phrase_sets = 1;public List<PhraseSet.Builder> getPhraseSetsBuilderList()
The list of requested PhraseSets.
repeated .google.cloud.speech.v2.PhraseSet phrase_sets = 1;public String getNextPageToken()
A token, which can be sent as [page_token][google.cloud.speech.v2.ListPhraseSetsRequest.page_token] to retrieve the next page. If this field is omitted, there are no subsequent pages. This token expires after 72 hours.
string next_page_token = 2;getNextPageToken in interface ListPhraseSetsResponseOrBuilderpublic com.google.protobuf.ByteString getNextPageTokenBytes()
A token, which can be sent as [page_token][google.cloud.speech.v2.ListPhraseSetsRequest.page_token] to retrieve the next page. If this field is omitted, there are no subsequent pages. This token expires after 72 hours.
string next_page_token = 2;getNextPageTokenBytes in interface ListPhraseSetsResponseOrBuilderpublic ListPhraseSetsResponse.Builder setNextPageToken(String value)
A token, which can be sent as [page_token][google.cloud.speech.v2.ListPhraseSetsRequest.page_token] to retrieve the next page. If this field is omitted, there are no subsequent pages. This token expires after 72 hours.
string next_page_token = 2;value - The nextPageToken to set.public ListPhraseSetsResponse.Builder clearNextPageToken()
A token, which can be sent as [page_token][google.cloud.speech.v2.ListPhraseSetsRequest.page_token] to retrieve the next page. If this field is omitted, there are no subsequent pages. This token expires after 72 hours.
string next_page_token = 2;public ListPhraseSetsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
A token, which can be sent as [page_token][google.cloud.speech.v2.ListPhraseSetsRequest.page_token] to retrieve the next page. If this field is omitted, there are no subsequent pages. This token expires after 72 hours.
string next_page_token = 2;value - The bytes for nextPageToken to set.Copyright © 2026 Google LLC. All rights reserved.