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()
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>
|
addRecognizers(Recognizer value)
public ListRecognizersResponse.Builder addRecognizers(Recognizer value)
The list of requested Recognizers.
repeated .google.cloud.speech.v2.Recognizer recognizers = 1;
addRecognizers(Recognizer.Builder builderForValue)
public ListRecognizersResponse.Builder addRecognizers(Recognizer.Builder builderForValue)
The list of requested Recognizers.
repeated .google.cloud.speech.v2.Recognizer recognizers = 1;
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;
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;
addRecognizersBuilder()
public Recognizer.Builder addRecognizersBuilder()
The list of requested Recognizers.
repeated .google.cloud.speech.v2.Recognizer recognizers = 1;
addRecognizersBuilder(int index)
public Recognizer.Builder addRecognizersBuilder(int index)
The list of requested Recognizers.
repeated .google.cloud.speech.v2.Recognizer recognizers = 1;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListRecognizersResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListRecognizersResponse build()
buildPartial()
public ListRecognizersResponse buildPartial()
clear()
public ListRecognizersResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListRecognizersResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListRecognizersResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRecognizers()
public ListRecognizersResponse.Builder clearRecognizers()
The list of requested Recognizers.
repeated .google.cloud.speech.v2.Recognizer recognizers = 1;
clone()
public ListRecognizersResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListRecognizersResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Name | Description |
index | int
|
getRecognizersBuilder(int index)
public Recognizer.Builder getRecognizersBuilder(int index)
The list of requested Recognizers.
repeated .google.cloud.speech.v2.Recognizer recognizers = 1;
Parameter |
---|
Name | Description |
index | int
|
getRecognizersBuilderList()
public List<Recognizer.Builder> getRecognizersBuilderList()
The list of requested Recognizers.
repeated .google.cloud.speech.v2.Recognizer recognizers = 1;
getRecognizersCount()
public int getRecognizersCount()
The list of requested Recognizers.
repeated .google.cloud.speech.v2.Recognizer recognizers = 1;
Returns |
---|
Type | Description |
int | |
getRecognizersList()
public List<Recognizer> getRecognizersList()
The list of requested Recognizers.
repeated .google.cloud.speech.v2.Recognizer recognizers = 1;
getRecognizersOrBuilder(int index)
public RecognizerOrBuilder getRecognizersOrBuilder(int index)
The list of requested Recognizers.
repeated .google.cloud.speech.v2.Recognizer recognizers = 1;
Parameter |
---|
Name | Description |
index | int
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListRecognizersResponse other)
public ListRecognizersResponse.Builder mergeFrom(ListRecognizersResponse other)
public ListRecognizersResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListRecognizersResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListRecognizersResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeRecognizers(int index)
public ListRecognizersResponse.Builder removeRecognizers(int index)
The list of requested Recognizers.
repeated .google.cloud.speech.v2.Recognizer recognizers = 1;
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListRecognizersResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListRecognizersResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListRecognizersResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides