public final class ListPhraseSetsResponse extends GeneratedMessageV3 implements ListPhraseSetsResponseOrBuilder
Response message for the
ListPhraseSets method.
Protobuf type google.cloud.speech.v2.ListPhraseSetsResponse
Static Fields
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
PHRASE_SETS_FIELD_NUMBER
public static final int PHRASE_SETS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ListPhraseSetsResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ListPhraseSetsResponse.Builder newBuilder()
Returns
newBuilder(ListPhraseSetsResponse prototype)
public static ListPhraseSetsResponse.Builder newBuilder(ListPhraseSetsResponse prototype)
Parameter
Returns
public static ListPhraseSetsResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListPhraseSetsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ListPhraseSetsResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListPhraseSetsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ListPhraseSetsResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListPhraseSetsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListPhraseSetsResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ListPhraseSetsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListPhraseSetsResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListPhraseSetsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ListPhraseSetsResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListPhraseSetsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ListPhraseSetsResponse> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ListPhraseSetsResponse getDefaultInstanceForType()
Returns
getNextPageToken()
public String getNextPageToken()
A token, which can be sent as
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;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token, which can be sent as
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;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
getParserForType()
public Parser<ListPhraseSetsResponse> getParserForType()
Returns
Overrides
getPhraseSets(int index)
public PhraseSet getPhraseSets(int index)
The list of requested PhraseSets.
repeated .google.cloud.speech.v2.PhraseSet phrase_sets = 1;
Parameter
Returns
getPhraseSetsCount()
public int getPhraseSetsCount()
The list of requested PhraseSets.
repeated .google.cloud.speech.v2.PhraseSet phrase_sets = 1;
Returns
getPhraseSetsList()
public List<PhraseSet> getPhraseSetsList()
The list of requested PhraseSets.
repeated .google.cloud.speech.v2.PhraseSet phrase_sets = 1;
Returns
getPhraseSetsOrBuilder(int index)
public PhraseSetOrBuilder getPhraseSetsOrBuilder(int index)
The list of requested PhraseSets.
repeated .google.cloud.speech.v2.PhraseSet phrase_sets = 1;
Parameter
Returns
getPhraseSetsOrBuilderList()
public List<? extends PhraseSetOrBuilder> getPhraseSetsOrBuilderList()
The list of requested PhraseSets.
repeated .google.cloud.speech.v2.PhraseSet phrase_sets = 1;
Returns
Type | Description |
List<? extends com.google.cloud.speech.v2.PhraseSetOrBuilder> | |
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ListPhraseSetsResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListPhraseSetsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ListPhraseSetsResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions