Class ListRecognizersResponse.Builder (4.11.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.speech.v2.Recognizer>
Returns
TypeDescription
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
NameDescription
valueRecognizer
Returns
TypeDescription
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
NameDescription
builderForValueRecognizer.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueRecognizer
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRecognizer.Builder
Returns
TypeDescription
ListRecognizersResponse.Builder

addRecognizersBuilder()

public Recognizer.Builder addRecognizersBuilder()

The list of requested Recognizers.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Recognizer.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListRecognizersResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListRecognizersResponse.Builder
Overrides

build()

public ListRecognizersResponse build()
Returns
TypeDescription
ListRecognizersResponse

buildPartial()

public ListRecognizersResponse buildPartial()
Returns
TypeDescription
ListRecognizersResponse

clear()

public ListRecognizersResponse.Builder clear()
Returns
TypeDescription
ListRecognizersResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListRecognizersResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListRecognizersResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListRecognizersResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListRecognizersResponse.Builder
Overrides

clearRecognizers()

public ListRecognizersResponse.Builder clearRecognizers()

The list of requested Recognizers.

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

Returns
TypeDescription
ListRecognizersResponse.Builder

clone()

public ListRecognizersResponse.Builder clone()
Returns
TypeDescription
ListRecognizersResponse.Builder
Overrides

getDefaultInstanceForType()

public ListRecognizersResponse getDefaultInstanceForType()
Returns
TypeDescription
ListRecognizersResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Recognizer

getRecognizersBuilder(int index)

public Recognizer.Builder getRecognizersBuilder(int index)

The list of requested Recognizers.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Recognizer.Builder

getRecognizersBuilderList()

public List<Recognizer.Builder> getRecognizersBuilderList()

The list of requested Recognizers.

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

Returns
TypeDescription
List<Builder>

getRecognizersCount()

public int getRecognizersCount()

The list of requested Recognizers.

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

Returns
TypeDescription
int

getRecognizersList()

public List<Recognizer> getRecognizersList()

The list of requested Recognizers.

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

Returns
TypeDescription
List<Recognizer>

getRecognizersOrBuilder(int index)

public RecognizerOrBuilder getRecognizersOrBuilder(int index)

The list of requested Recognizers.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
RecognizerOrBuilder

getRecognizersOrBuilderList()

public List<? extends RecognizerOrBuilder> getRecognizersOrBuilderList()

The list of requested Recognizers.

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

Returns
TypeDescription
List<? extends com.google.cloud.speech.v2.RecognizerOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListRecognizersResponse other)

public ListRecognizersResponse.Builder mergeFrom(ListRecognizersResponse other)
Parameter
NameDescription
otherListRecognizersResponse
Returns
TypeDescription
ListRecognizersResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListRecognizersResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListRecognizersResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListRecognizersResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListRecognizersResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListRecognizersResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListRecognizersResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListRecognizersResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
indexint
valueRecognizer
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRecognizer.Builder
Returns
TypeDescription
ListRecognizersResponse.Builder

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

public ListRecognizersResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListRecognizersResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListRecognizersResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListRecognizersResponse.Builder
Overrides