public static final class ListRecognizersResponse.Builder extends GeneratedMessageV3.Builder<ListRecognizersResponse.Builder> implements ListRecognizersResponseOrBuilder
Response message for the
ListRecognizers method.
Protobuf type google.cloud.speech.v2.ListRecognizersResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addAllRecognizers(Iterable<? extends Recognizer> values)
public ListRecognizersResponse.Builder addAllRecognizers(Iterable<? extends Recognizer> values)
The list of requested Recognizers.
repeated .google.cloud.speech.v2.Recognizer recognizers = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.speech.v2.Recognizer>
|
Returns
addRecognizers(Recognizer value)
public ListRecognizersResponse.Builder addRecognizers(Recognizer value)
The list of requested Recognizers.
repeated .google.cloud.speech.v2.Recognizer recognizers = 1;
Parameter
Returns
addRecognizers(Recognizer.Builder builderForValue)
public ListRecognizersResponse.Builder addRecognizers(Recognizer.Builder builderForValue)
The list of requested Recognizers.
repeated .google.cloud.speech.v2.Recognizer recognizers = 1;
Parameter
Returns
addRecognizers(int index, Recognizer value)
public ListRecognizersResponse.Builder addRecognizers(int index, Recognizer value)
The list of requested Recognizers.
repeated .google.cloud.speech.v2.Recognizer recognizers = 1;
Parameters
Returns
addRecognizers(int index, Recognizer.Builder builderForValue)
public ListRecognizersResponse.Builder addRecognizers(int index, Recognizer.Builder builderForValue)
The list of requested Recognizers.
repeated .google.cloud.speech.v2.Recognizer recognizers = 1;
Parameters
Returns
addRecognizersBuilder()
public Recognizer.Builder addRecognizersBuilder()
The list of requested Recognizers.
repeated .google.cloud.speech.v2.Recognizer recognizers = 1;
Returns
addRecognizersBuilder(int index)
public Recognizer.Builder addRecognizersBuilder(int index)
The list of requested Recognizers.
repeated .google.cloud.speech.v2.Recognizer recognizers = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListRecognizersResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListRecognizersResponse build()
Returns
buildPartial()
public ListRecognizersResponse buildPartial()
Returns
clear()
public ListRecognizersResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListRecognizersResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListRecognizersResponse.Builder clearNextPageToken()
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListRecognizersResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearRecognizers()
public ListRecognizersResponse.Builder clearRecognizers()
The list of requested Recognizers.
repeated .google.cloud.speech.v2.Recognizer recognizers = 1;
Returns
clone()
public ListRecognizersResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListRecognizersResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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.
|
getRecognizers(int index)
public Recognizer getRecognizers(int index)
The list of requested Recognizers.
repeated .google.cloud.speech.v2.Recognizer recognizers = 1;
Parameter
Returns
getRecognizersBuilder(int index)
public Recognizer.Builder getRecognizersBuilder(int index)
The list of requested Recognizers.
repeated .google.cloud.speech.v2.Recognizer recognizers = 1;
Parameter
Returns
getRecognizersBuilderList()
public List<Recognizer.Builder> getRecognizersBuilderList()
The list of requested Recognizers.
repeated .google.cloud.speech.v2.Recognizer recognizers = 1;
Returns
getRecognizersCount()
public int getRecognizersCount()
The list of requested Recognizers.
repeated .google.cloud.speech.v2.Recognizer recognizers = 1;
Returns
getRecognizersList()
public List<Recognizer> getRecognizersList()
The list of requested Recognizers.
repeated .google.cloud.speech.v2.Recognizer recognizers = 1;
Returns
getRecognizersOrBuilder(int index)
public RecognizerOrBuilder getRecognizersOrBuilder(int index)
The list of requested Recognizers.
repeated .google.cloud.speech.v2.Recognizer recognizers = 1;
Parameter
Returns
getRecognizersOrBuilderList()
public List<? extends RecognizerOrBuilder> getRecognizersOrBuilderList()
The list of requested Recognizers.
repeated .google.cloud.speech.v2.Recognizer recognizers = 1;
Returns
Type | Description |
List<? extends com.google.cloud.speech.v2.RecognizerOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListRecognizersResponse other)
public ListRecognizersResponse.Builder mergeFrom(ListRecognizersResponse other)
Parameter
Returns
public ListRecognizersResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListRecognizersResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListRecognizersResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeRecognizers(int index)
public ListRecognizersResponse.Builder removeRecognizers(int index)
The list of requested Recognizers.
repeated .google.cloud.speech.v2.Recognizer recognizers = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListRecognizersResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListRecognizersResponse.Builder setNextPageToken(String value)
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;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListRecognizersResponse.Builder setNextPageTokenBytes(ByteString value)
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;
Parameter
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
setRecognizers(int index, Recognizer value)
public ListRecognizersResponse.Builder setRecognizers(int index, Recognizer value)
The list of requested Recognizers.
repeated .google.cloud.speech.v2.Recognizer recognizers = 1;
Parameters
Returns
setRecognizers(int index, Recognizer.Builder builderForValue)
public ListRecognizersResponse.Builder setRecognizers(int index, Recognizer.Builder builderForValue)
The list of requested Recognizers.
repeated .google.cloud.speech.v2.Recognizer recognizers = 1;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListRecognizersResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListRecognizersResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides