Class ListRecognizersResponse.Builder (4.49.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

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
Type Description
ListRecognizersResponse.Builder

addRecognizers(Recognizer value)

public ListRecognizersResponse.Builder addRecognizers(Recognizer value)

The list of requested Recognizers.

repeated .google.cloud.speech.v2.Recognizer recognizers = 1;

Parameter
Name Description
value Recognizer
Returns
Type Description
ListRecognizersResponse.Builder

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
Name Description
builderForValue Recognizer.Builder
Returns
Type Description
ListRecognizersResponse.Builder

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
Name Description
index int
value Recognizer
Returns
Type Description
ListRecognizersResponse.Builder

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
Name Description
index int
builderForValue Recognizer.Builder
Returns
Type Description
ListRecognizersResponse.Builder

addRecognizersBuilder()

public Recognizer.Builder addRecognizersBuilder()

The list of requested Recognizers.

repeated .google.cloud.speech.v2.Recognizer recognizers = 1;

Returns
Type Description
Recognizer.Builder

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
Returns
Type Description
Recognizer.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListRecognizersResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListRecognizersResponse.Builder
Overrides

build()

public ListRecognizersResponse build()
Returns
Type Description
ListRecognizersResponse

buildPartial()

public ListRecognizersResponse buildPartial()
Returns
Type Description
ListRecognizersResponse

clear()

public ListRecognizersResponse.Builder clear()
Returns
Type Description
ListRecognizersResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListRecognizersResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListRecognizersResponse.Builder
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
Type Description
ListRecognizersResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListRecognizersResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListRecognizersResponse.Builder
Overrides

clearRecognizers()

public ListRecognizersResponse.Builder clearRecognizers()

The list of requested Recognizers.

repeated .google.cloud.speech.v2.Recognizer recognizers = 1;

Returns
Type Description
ListRecognizersResponse.Builder

clone()

public ListRecognizersResponse.Builder clone()
Returns
Type Description
ListRecognizersResponse.Builder
Overrides

getDefaultInstanceForType()

public ListRecognizersResponse getDefaultInstanceForType()
Returns
Type Description
ListRecognizersResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Returns
Type Description
Recognizer

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
Returns
Type Description
Recognizer.Builder

getRecognizersBuilderList()

public List<Recognizer.Builder> getRecognizersBuilderList()

The list of requested Recognizers.

repeated .google.cloud.speech.v2.Recognizer recognizers = 1;

Returns
Type Description
List<Builder>

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;

Returns
Type Description
List<Recognizer>

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
Returns
Type Description
RecognizerOrBuilder

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListRecognizersResponse other)

public ListRecognizersResponse.Builder mergeFrom(ListRecognizersResponse other)
Parameter
Name Description
other ListRecognizersResponse
Returns
Type Description
ListRecognizersResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListRecognizersResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListRecognizersResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListRecognizersResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListRecognizersResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListRecognizersResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListRecognizersResponse.Builder
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
Returns
Type Description
ListRecognizersResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListRecognizersResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListRecognizersResponse.Builder
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
Type Description
ListRecognizersResponse.Builder

This builder for chaining.

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
Type Description
ListRecognizersResponse.Builder

This builder for chaining.

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
Name Description
index int
value Recognizer
Returns
Type Description
ListRecognizersResponse.Builder

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
Name Description
index int
builderForValue Recognizer.Builder
Returns
Type Description
ListRecognizersResponse.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListRecognizersResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListRecognizersResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListRecognizersResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListRecognizersResponse.Builder
Overrides