public final class ListPhraseSetResponse extends GeneratedMessageV3 implements ListPhraseSetResponseOrBuilder
Message returned to the client by the ListPhraseSet
method.
Protobuf type google.cloud.speech.v1.ListPhraseSetResponse
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 ListPhraseSetResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ListPhraseSetResponse.Builder newBuilder()
Returns
newBuilder(ListPhraseSetResponse prototype)
public static ListPhraseSetResponse.Builder newBuilder(ListPhraseSetResponse prototype)
Parameter
Returns
public static ListPhraseSetResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListPhraseSetResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ListPhraseSetResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListPhraseSetResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ListPhraseSetResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListPhraseSetResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListPhraseSetResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ListPhraseSetResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListPhraseSetResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListPhraseSetResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ListPhraseSetResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListPhraseSetResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ListPhraseSetResponse> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ListPhraseSetResponse 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.
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.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
getParserForType()
public Parser<ListPhraseSetResponse> getParserForType()
Returns
Overrides
getPhraseSets(int index)
public PhraseSet getPhraseSets(int index)
The phrase set.
repeated .google.cloud.speech.v1.PhraseSet phrase_sets = 1;
Parameter
Returns
getPhraseSetsCount()
public int getPhraseSetsCount()
The phrase set.
repeated .google.cloud.speech.v1.PhraseSet phrase_sets = 1;
Returns
getPhraseSetsList()
public List<PhraseSet> getPhraseSetsList()
The phrase set.
repeated .google.cloud.speech.v1.PhraseSet phrase_sets = 1;
Returns
getPhraseSetsOrBuilder(int index)
public PhraseSetOrBuilder getPhraseSetsOrBuilder(int index)
The phrase set.
repeated .google.cloud.speech.v1.PhraseSet phrase_sets = 1;
Parameter
Returns
getPhraseSetsOrBuilderList()
public List<? extends PhraseSetOrBuilder> getPhraseSetsOrBuilderList()
The phrase set.
repeated .google.cloud.speech.v1.PhraseSet phrase_sets = 1;
Returns
Type | Description |
List<? extends com.google.cloud.speech.v1.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 ListPhraseSetResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListPhraseSetResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ListPhraseSetResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions