diff --git a/java/proto-google-cloud-speech-v1p1beta1/0.1.29/apidocs/allclasses-frame.html b/java/proto-google-cloud-speech-v1p1beta1/0.1.29/apidocs/allclasses-frame.html new file mode 100644 index 0000000000..2ab5578c21 --- /dev/null +++ b/java/proto-google-cloud-speech-v1p1beta1/0.1.29/apidocs/allclasses-frame.html @@ -0,0 +1,68 @@ + + + +
+ +public static final class LongRunningRecognizeMetadata.Builder +extends com.google.protobuf.GeneratedMessageV3.Builder<LongRunningRecognizeMetadata.Builder> +implements LongRunningRecognizeMetadataOrBuilder+
+ Describes the progress of a long-running `LongRunningRecognize` call. It is + included in the `metadata` field of the `Operation` returned by the + `GetOperation` call of the `google::longrunning::Operations` service. ++ + Protobuf type
google.cloud.speech.v1p1beta1.LongRunningRecognizeMetadata| Modifier and Type | +Method and Description | +
|---|---|
LongRunningRecognizeMetadata.Builder |
+addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) |
+
LongRunningRecognizeMetadata |
+build() |
+
LongRunningRecognizeMetadata |
+buildPartial() |
+
LongRunningRecognizeMetadata.Builder |
+clear() |
+
LongRunningRecognizeMetadata.Builder |
+clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
+
LongRunningRecognizeMetadata.Builder |
+clearLastUpdateTime()
+
+ Time of the most recent processing update.
+ |
+
LongRunningRecognizeMetadata.Builder |
+clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
+
LongRunningRecognizeMetadata.Builder |
+clearProgressPercent()
+
+ Approximate percentage of audio processed thus far.
+ |
+
LongRunningRecognizeMetadata.Builder |
+clearStartTime()
+
+ Time when the request was received.
+ |
+
LongRunningRecognizeMetadata.Builder |
+clone() |
+
LongRunningRecognizeMetadata |
+getDefaultInstanceForType() |
+
static com.google.protobuf.Descriptors.Descriptor |
+getDescriptor() |
+
com.google.protobuf.Descriptors.Descriptor |
+getDescriptorForType() |
+
com.google.protobuf.Timestamp |
+getLastUpdateTime()
+
+ Time of the most recent processing update.
+ |
+
com.google.protobuf.Timestamp.Builder |
+getLastUpdateTimeBuilder()
+
+ Time of the most recent processing update.
+ |
+
com.google.protobuf.TimestampOrBuilder |
+getLastUpdateTimeOrBuilder()
+
+ Time of the most recent processing update.
+ |
+
int |
+getProgressPercent()
+
+ Approximate percentage of audio processed thus far.
+ |
+
com.google.protobuf.Timestamp |
+getStartTime()
+
+ Time when the request was received.
+ |
+
com.google.protobuf.Timestamp.Builder |
+getStartTimeBuilder()
+
+ Time when the request was received.
+ |
+
com.google.protobuf.TimestampOrBuilder |
+getStartTimeOrBuilder()
+
+ Time when the request was received.
+ |
+
boolean |
+hasLastUpdateTime()
+
+ Time of the most recent processing update.
+ |
+
boolean |
+hasStartTime()
+
+ Time when the request was received.
+ |
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
+internalGetFieldAccessorTable() |
+
boolean |
+isInitialized() |
+
LongRunningRecognizeMetadata.Builder |
+mergeFrom(com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
LongRunningRecognizeMetadata.Builder |
+mergeFrom(LongRunningRecognizeMetadata other) |
+
LongRunningRecognizeMetadata.Builder |
+mergeFrom(com.google.protobuf.Message other) |
+
LongRunningRecognizeMetadata.Builder |
+mergeLastUpdateTime(com.google.protobuf.Timestamp value)
+
+ Time of the most recent processing update.
+ |
+
LongRunningRecognizeMetadata.Builder |
+mergeStartTime(com.google.protobuf.Timestamp value)
+
+ Time when the request was received.
+ |
+
LongRunningRecognizeMetadata.Builder |
+mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
+
LongRunningRecognizeMetadata.Builder |
+setField(com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) |
+
LongRunningRecognizeMetadata.Builder |
+setLastUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
+
+ Time of the most recent processing update.
+ |
+
LongRunningRecognizeMetadata.Builder |
+setLastUpdateTime(com.google.protobuf.Timestamp value)
+
+ Time of the most recent processing update.
+ |
+
LongRunningRecognizeMetadata.Builder |
+setProgressPercent(int value)
+
+ Approximate percentage of audio processed thus far.
+ |
+
LongRunningRecognizeMetadata.Builder |
+setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
+ int index,
+ java.lang.Object value) |
+
LongRunningRecognizeMetadata.Builder |
+setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
+
+ Time when the request was received.
+ |
+
LongRunningRecognizeMetadata.Builder |
+setStartTime(com.google.protobuf.Timestamp value)
+
+ Time when the request was received.
+ |
+
LongRunningRecognizeMetadata.Builder |
+setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
+
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()+
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<LongRunningRecognizeMetadata.Builder>public LongRunningRecognizeMetadata.Builder clear()+
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<LongRunningRecognizeMetadata.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()+
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<LongRunningRecognizeMetadata.Builder>public LongRunningRecognizeMetadata getDefaultInstanceForType()+
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LongRunningRecognizeMetadata build()+
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LongRunningRecognizeMetadata buildPartial()+
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LongRunningRecognizeMetadata.Builder clone()+
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<LongRunningRecognizeMetadata.Builder>public LongRunningRecognizeMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value)+
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<LongRunningRecognizeMetadata.Builder>public LongRunningRecognizeMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)+
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<LongRunningRecognizeMetadata.Builder>public LongRunningRecognizeMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)+
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<LongRunningRecognizeMetadata.Builder>public LongRunningRecognizeMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value)+
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<LongRunningRecognizeMetadata.Builder>public LongRunningRecognizeMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value)+
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<LongRunningRecognizeMetadata.Builder>public LongRunningRecognizeMetadata.Builder mergeFrom(com.google.protobuf.Message other)+
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LongRunningRecognizeMetadata.Builder>public LongRunningRecognizeMetadata.Builder mergeFrom(LongRunningRecognizeMetadata other)+
public final boolean isInitialized()+
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LongRunningRecognizeMetadata.Builder>public LongRunningRecognizeMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LongRunningRecognizeMetadata.Builder>java.io.IOExceptionpublic int getProgressPercent()+
+ Approximate percentage of audio processed thus far. Guaranteed to be 100 + when the audio is fully processed and the results are available. ++ +
int32 progress_percent = 1;getProgressPercent in interface LongRunningRecognizeMetadataOrBuilderpublic LongRunningRecognizeMetadata.Builder setProgressPercent(int value)+
+ Approximate percentage of audio processed thus far. Guaranteed to be 100 + when the audio is fully processed and the results are available. ++ +
int32 progress_percent = 1;public LongRunningRecognizeMetadata.Builder clearProgressPercent()+
+ Approximate percentage of audio processed thus far. Guaranteed to be 100 + when the audio is fully processed and the results are available. ++ +
int32 progress_percent = 1;public boolean hasStartTime()+
+ Time when the request was received. ++ +
.google.protobuf.Timestamp start_time = 2;hasStartTime in interface LongRunningRecognizeMetadataOrBuilderpublic com.google.protobuf.Timestamp getStartTime()+
+ Time when the request was received. ++ +
.google.protobuf.Timestamp start_time = 2;getStartTime in interface LongRunningRecognizeMetadataOrBuilderpublic LongRunningRecognizeMetadata.Builder setStartTime(com.google.protobuf.Timestamp value)+
+ Time when the request was received. ++ +
.google.protobuf.Timestamp start_time = 2;public LongRunningRecognizeMetadata.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)+
+ Time when the request was received. ++ +
.google.protobuf.Timestamp start_time = 2;public LongRunningRecognizeMetadata.Builder mergeStartTime(com.google.protobuf.Timestamp value)+
+ Time when the request was received. ++ +
.google.protobuf.Timestamp start_time = 2;public LongRunningRecognizeMetadata.Builder clearStartTime()+
+ Time when the request was received. ++ +
.google.protobuf.Timestamp start_time = 2;public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()+
+ Time when the request was received. ++ +
.google.protobuf.Timestamp start_time = 2;public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()+
+ Time when the request was received. ++ +
.google.protobuf.Timestamp start_time = 2;getStartTimeOrBuilder in interface LongRunningRecognizeMetadataOrBuilderpublic boolean hasLastUpdateTime()+
+ Time of the most recent processing update. ++ +
.google.protobuf.Timestamp last_update_time = 3;hasLastUpdateTime in interface LongRunningRecognizeMetadataOrBuilderpublic com.google.protobuf.Timestamp getLastUpdateTime()+
+ Time of the most recent processing update. ++ +
.google.protobuf.Timestamp last_update_time = 3;getLastUpdateTime in interface LongRunningRecognizeMetadataOrBuilderpublic LongRunningRecognizeMetadata.Builder setLastUpdateTime(com.google.protobuf.Timestamp value)+
+ Time of the most recent processing update. ++ +
.google.protobuf.Timestamp last_update_time = 3;public LongRunningRecognizeMetadata.Builder setLastUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)+
+ Time of the most recent processing update. ++ +
.google.protobuf.Timestamp last_update_time = 3;public LongRunningRecognizeMetadata.Builder mergeLastUpdateTime(com.google.protobuf.Timestamp value)+
+ Time of the most recent processing update. ++ +
.google.protobuf.Timestamp last_update_time = 3;public LongRunningRecognizeMetadata.Builder clearLastUpdateTime()+
+ Time of the most recent processing update. ++ +
.google.protobuf.Timestamp last_update_time = 3;public com.google.protobuf.Timestamp.Builder getLastUpdateTimeBuilder()+
+ Time of the most recent processing update. ++ +
.google.protobuf.Timestamp last_update_time = 3;public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder()+
+ Time of the most recent processing update. ++ +
.google.protobuf.Timestamp last_update_time = 3;getLastUpdateTimeOrBuilder in interface LongRunningRecognizeMetadataOrBuilderpublic final LongRunningRecognizeMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)+
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LongRunningRecognizeMetadata.Builder>public final LongRunningRecognizeMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)+
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LongRunningRecognizeMetadata.Builder>public final class LongRunningRecognizeMetadata +extends com.google.protobuf.GeneratedMessageV3 +implements LongRunningRecognizeMetadataOrBuilder+
+ Describes the progress of a long-running `LongRunningRecognize` call. It is + included in the `metadata` field of the `Operation` returned by the + `GetOperation` call of the `google::longrunning::Operations` service. ++ + Protobuf type
google.cloud.speech.v1p1beta1.LongRunningRecognizeMetadata| Modifier and Type | +Class and Description | +
|---|---|
static class |
+LongRunningRecognizeMetadata.Builder
+
+ Describes the progress of a long-running `LongRunningRecognize` call.
+ |
+
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | +Field and Description | +
|---|---|
static int |
+LAST_UPDATE_TIME_FIELD_NUMBER |
+
static int |
+PROGRESS_PERCENT_FIELD_NUMBER |
+
static int |
+START_TIME_FIELD_NUMBER |
+
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | +Method and Description | +
|---|---|
boolean |
+equals(java.lang.Object obj) |
+
static LongRunningRecognizeMetadata |
+getDefaultInstance() |
+
LongRunningRecognizeMetadata |
+getDefaultInstanceForType() |
+
static com.google.protobuf.Descriptors.Descriptor |
+getDescriptor() |
+
com.google.protobuf.Timestamp |
+getLastUpdateTime()
+
+ Time of the most recent processing update.
+ |
+
com.google.protobuf.TimestampOrBuilder |
+getLastUpdateTimeOrBuilder()
+
+ Time of the most recent processing update.
+ |
+
com.google.protobuf.Parser<LongRunningRecognizeMetadata> |
+getParserForType() |
+
int |
+getProgressPercent()
+
+ Approximate percentage of audio processed thus far.
+ |
+
int |
+getSerializedSize() |
+
com.google.protobuf.Timestamp |
+getStartTime()
+
+ Time when the request was received.
+ |
+
com.google.protobuf.TimestampOrBuilder |
+getStartTimeOrBuilder()
+
+ Time when the request was received.
+ |
+
com.google.protobuf.UnknownFieldSet |
+getUnknownFields() |
+
int |
+hashCode() |
+
boolean |
+hasLastUpdateTime()
+
+ Time of the most recent processing update.
+ |
+
boolean |
+hasStartTime()
+
+ Time when the request was received.
+ |
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
+internalGetFieldAccessorTable() |
+
boolean |
+isInitialized() |
+
static LongRunningRecognizeMetadata.Builder |
+newBuilder() |
+
static LongRunningRecognizeMetadata.Builder |
+newBuilder(LongRunningRecognizeMetadata prototype) |
+
LongRunningRecognizeMetadata.Builder |
+newBuilderForType() |
+
protected LongRunningRecognizeMetadata.Builder |
+newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
+
static LongRunningRecognizeMetadata |
+parseDelimitedFrom(java.io.InputStream input) |
+
static LongRunningRecognizeMetadata |
+parseDelimitedFrom(java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static LongRunningRecognizeMetadata |
+parseFrom(byte[] data) |
+
static LongRunningRecognizeMetadata |
+parseFrom(byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static LongRunningRecognizeMetadata |
+parseFrom(java.nio.ByteBuffer data) |
+
static LongRunningRecognizeMetadata |
+parseFrom(java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static LongRunningRecognizeMetadata |
+parseFrom(com.google.protobuf.ByteString data) |
+
static LongRunningRecognizeMetadata |
+parseFrom(com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static LongRunningRecognizeMetadata |
+parseFrom(com.google.protobuf.CodedInputStream input) |
+
static LongRunningRecognizeMetadata |
+parseFrom(com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static LongRunningRecognizeMetadata |
+parseFrom(java.io.InputStream input) |
+
static LongRunningRecognizeMetadata |
+parseFrom(java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static com.google.protobuf.Parser<LongRunningRecognizeMetadata> |
+parser() |
+
LongRunningRecognizeMetadata.Builder |
+toBuilder() |
+
void |
+writeTo(com.google.protobuf.CodedOutputStream output) |
+
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int PROGRESS_PERCENT_FIELD_NUMBER+
public static final int START_TIME_FIELD_NUMBER+
public static final int LAST_UPDATE_TIME_FIELD_NUMBER+
public final com.google.protobuf.UnknownFieldSet getUnknownFields()+
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()+
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getProgressPercent()+
+ Approximate percentage of audio processed thus far. Guaranteed to be 100 + when the audio is fully processed and the results are available. ++ +
int32 progress_percent = 1;getProgressPercent in interface LongRunningRecognizeMetadataOrBuilderpublic boolean hasStartTime()+
+ Time when the request was received. ++ +
.google.protobuf.Timestamp start_time = 2;hasStartTime in interface LongRunningRecognizeMetadataOrBuilderpublic com.google.protobuf.Timestamp getStartTime()+
+ Time when the request was received. ++ +
.google.protobuf.Timestamp start_time = 2;getStartTime in interface LongRunningRecognizeMetadataOrBuilderpublic com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()+
+ Time when the request was received. ++ +
.google.protobuf.Timestamp start_time = 2;getStartTimeOrBuilder in interface LongRunningRecognizeMetadataOrBuilderpublic boolean hasLastUpdateTime()+
+ Time of the most recent processing update. ++ +
.google.protobuf.Timestamp last_update_time = 3;hasLastUpdateTime in interface LongRunningRecognizeMetadataOrBuilderpublic com.google.protobuf.Timestamp getLastUpdateTime()+
+ Time of the most recent processing update. ++ +
.google.protobuf.Timestamp last_update_time = 3;getLastUpdateTime in interface LongRunningRecognizeMetadataOrBuilderpublic com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder()+
+ Time of the most recent processing update. ++ +
.google.protobuf.Timestamp last_update_time = 3;getLastUpdateTimeOrBuilder in interface LongRunningRecognizeMetadataOrBuilderpublic final boolean isInitialized()+
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException+
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()+
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)+
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()+
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static LongRunningRecognizeMetadata parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LongRunningRecognizeMetadata parseFrom(java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LongRunningRecognizeMetadata parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LongRunningRecognizeMetadata parseFrom(com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LongRunningRecognizeMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LongRunningRecognizeMetadata parseFrom(byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LongRunningRecognizeMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException+
java.io.IOExceptionpublic static LongRunningRecognizeMetadata parseFrom(java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
java.io.IOExceptionpublic static LongRunningRecognizeMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException+
java.io.IOExceptionpublic static LongRunningRecognizeMetadata parseDelimitedFrom(java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
java.io.IOExceptionpublic static LongRunningRecognizeMetadata parseFrom(com.google.protobuf.CodedInputStream input) + throws java.io.IOException+
java.io.IOExceptionpublic static LongRunningRecognizeMetadata parseFrom(com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
java.io.IOExceptionpublic LongRunningRecognizeMetadata.Builder newBuilderForType()+
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static LongRunningRecognizeMetadata.Builder newBuilder()+
public static LongRunningRecognizeMetadata.Builder newBuilder(LongRunningRecognizeMetadata prototype)+
public LongRunningRecognizeMetadata.Builder toBuilder()+
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected LongRunningRecognizeMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)+
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static LongRunningRecognizeMetadata getDefaultInstance()+
public static com.google.protobuf.Parser<LongRunningRecognizeMetadata> parser()+
public com.google.protobuf.Parser<LongRunningRecognizeMetadata> getParserForType()+
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public LongRunningRecognizeMetadata getDefaultInstanceForType()+
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic interface LongRunningRecognizeMetadataOrBuilder
+extends com.google.protobuf.MessageOrBuilder
+| Modifier and Type | +Method and Description | +
|---|---|
com.google.protobuf.Timestamp |
+getLastUpdateTime()
+
+ Time of the most recent processing update.
+ |
+
com.google.protobuf.TimestampOrBuilder |
+getLastUpdateTimeOrBuilder()
+
+ Time of the most recent processing update.
+ |
+
int |
+getProgressPercent()
+
+ Approximate percentage of audio processed thus far.
+ |
+
com.google.protobuf.Timestamp |
+getStartTime()
+
+ Time when the request was received.
+ |
+
com.google.protobuf.TimestampOrBuilder |
+getStartTimeOrBuilder()
+
+ Time when the request was received.
+ |
+
boolean |
+hasLastUpdateTime()
+
+ Time of the most recent processing update.
+ |
+
boolean |
+hasStartTime()
+
+ Time when the request was received.
+ |
+
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofisInitializedint getProgressPercent()+
+ Approximate percentage of audio processed thus far. Guaranteed to be 100 + when the audio is fully processed and the results are available. ++ +
int32 progress_percent = 1;boolean hasStartTime()+
+ Time when the request was received. ++ +
.google.protobuf.Timestamp start_time = 2;com.google.protobuf.Timestamp getStartTime()+
+ Time when the request was received. ++ +
.google.protobuf.Timestamp start_time = 2;com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()+
+ Time when the request was received. ++ +
.google.protobuf.Timestamp start_time = 2;boolean hasLastUpdateTime()+
+ Time of the most recent processing update. ++ +
.google.protobuf.Timestamp last_update_time = 3;com.google.protobuf.Timestamp getLastUpdateTime()+
+ Time of the most recent processing update. ++ +
.google.protobuf.Timestamp last_update_time = 3;com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder()+
+ Time of the most recent processing update. ++ +
.google.protobuf.Timestamp last_update_time = 3;public static final class LongRunningRecognizeRequest.Builder +extends com.google.protobuf.GeneratedMessageV3.Builder<LongRunningRecognizeRequest.Builder> +implements LongRunningRecognizeRequestOrBuilder+
+ The top-level message sent by the client for the `LongRunningRecognize` + method. ++ + Protobuf type
google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest| Modifier and Type | +Method and Description | +
|---|---|
LongRunningRecognizeRequest.Builder |
+addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) |
+
LongRunningRecognizeRequest |
+build() |
+
LongRunningRecognizeRequest |
+buildPartial() |
+
LongRunningRecognizeRequest.Builder |
+clear() |
+
LongRunningRecognizeRequest.Builder |
+clearAudio()
+
+ *Required* The audio data to be recognized.
+ |
+
LongRunningRecognizeRequest.Builder |
+clearConfig()
+
+ *Required* Provides information to the recognizer that specifies how to
+ process the request.
+ |
+
LongRunningRecognizeRequest.Builder |
+clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
+
LongRunningRecognizeRequest.Builder |
+clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
+
LongRunningRecognizeRequest.Builder |
+clone() |
+
RecognitionAudio |
+getAudio()
+
+ *Required* The audio data to be recognized.
+ |
+
RecognitionAudio.Builder |
+getAudioBuilder()
+
+ *Required* The audio data to be recognized.
+ |
+
RecognitionAudioOrBuilder |
+getAudioOrBuilder()
+
+ *Required* The audio data to be recognized.
+ |
+
RecognitionConfig |
+getConfig()
+
+ *Required* Provides information to the recognizer that specifies how to
+ process the request.
+ |
+
RecognitionConfig.Builder |
+getConfigBuilder()
+
+ *Required* Provides information to the recognizer that specifies how to
+ process the request.
+ |
+
RecognitionConfigOrBuilder |
+getConfigOrBuilder()
+
+ *Required* Provides information to the recognizer that specifies how to
+ process the request.
+ |
+
LongRunningRecognizeRequest |
+getDefaultInstanceForType() |
+
static com.google.protobuf.Descriptors.Descriptor |
+getDescriptor() |
+
com.google.protobuf.Descriptors.Descriptor |
+getDescriptorForType() |
+
boolean |
+hasAudio()
+
+ *Required* The audio data to be recognized.
+ |
+
boolean |
+hasConfig()
+
+ *Required* Provides information to the recognizer that specifies how to
+ process the request.
+ |
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
+internalGetFieldAccessorTable() |
+
boolean |
+isInitialized() |
+
LongRunningRecognizeRequest.Builder |
+mergeAudio(RecognitionAudio value)
+
+ *Required* The audio data to be recognized.
+ |
+
LongRunningRecognizeRequest.Builder |
+mergeConfig(RecognitionConfig value)
+
+ *Required* Provides information to the recognizer that specifies how to
+ process the request.
+ |
+
LongRunningRecognizeRequest.Builder |
+mergeFrom(com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
LongRunningRecognizeRequest.Builder |
+mergeFrom(LongRunningRecognizeRequest other) |
+
LongRunningRecognizeRequest.Builder |
+mergeFrom(com.google.protobuf.Message other) |
+
LongRunningRecognizeRequest.Builder |
+mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
+
LongRunningRecognizeRequest.Builder |
+setAudio(RecognitionAudio.Builder builderForValue)
+
+ *Required* The audio data to be recognized.
+ |
+
LongRunningRecognizeRequest.Builder |
+setAudio(RecognitionAudio value)
+
+ *Required* The audio data to be recognized.
+ |
+
LongRunningRecognizeRequest.Builder |
+setConfig(RecognitionConfig.Builder builderForValue)
+
+ *Required* Provides information to the recognizer that specifies how to
+ process the request.
+ |
+
LongRunningRecognizeRequest.Builder |
+setConfig(RecognitionConfig value)
+
+ *Required* Provides information to the recognizer that specifies how to
+ process the request.
+ |
+
LongRunningRecognizeRequest.Builder |
+setField(com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) |
+
LongRunningRecognizeRequest.Builder |
+setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
+ int index,
+ java.lang.Object value) |
+
LongRunningRecognizeRequest.Builder |
+setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
+
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()+
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<LongRunningRecognizeRequest.Builder>public LongRunningRecognizeRequest.Builder clear()+
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<LongRunningRecognizeRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()+
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<LongRunningRecognizeRequest.Builder>public LongRunningRecognizeRequest getDefaultInstanceForType()+
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LongRunningRecognizeRequest build()+
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LongRunningRecognizeRequest buildPartial()+
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LongRunningRecognizeRequest.Builder clone()+
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<LongRunningRecognizeRequest.Builder>public LongRunningRecognizeRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value)+
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<LongRunningRecognizeRequest.Builder>public LongRunningRecognizeRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)+
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<LongRunningRecognizeRequest.Builder>public LongRunningRecognizeRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)+
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<LongRunningRecognizeRequest.Builder>public LongRunningRecognizeRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value)+
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<LongRunningRecognizeRequest.Builder>public LongRunningRecognizeRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value)+
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<LongRunningRecognizeRequest.Builder>public LongRunningRecognizeRequest.Builder mergeFrom(com.google.protobuf.Message other)+
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LongRunningRecognizeRequest.Builder>public LongRunningRecognizeRequest.Builder mergeFrom(LongRunningRecognizeRequest other)+
public final boolean isInitialized()+
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LongRunningRecognizeRequest.Builder>public LongRunningRecognizeRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LongRunningRecognizeRequest.Builder>java.io.IOExceptionpublic boolean hasConfig()+
+ *Required* Provides information to the recognizer that specifies how to + process the request. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig config = 1;hasConfig in interface LongRunningRecognizeRequestOrBuilderpublic RecognitionConfig getConfig()+
+ *Required* Provides information to the recognizer that specifies how to + process the request. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig config = 1;getConfig in interface LongRunningRecognizeRequestOrBuilderpublic LongRunningRecognizeRequest.Builder setConfig(RecognitionConfig value)+
+ *Required* Provides information to the recognizer that specifies how to + process the request. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig config = 1;public LongRunningRecognizeRequest.Builder setConfig(RecognitionConfig.Builder builderForValue)+
+ *Required* Provides information to the recognizer that specifies how to + process the request. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig config = 1;public LongRunningRecognizeRequest.Builder mergeConfig(RecognitionConfig value)+
+ *Required* Provides information to the recognizer that specifies how to + process the request. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig config = 1;public LongRunningRecognizeRequest.Builder clearConfig()+
+ *Required* Provides information to the recognizer that specifies how to + process the request. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig config = 1;public RecognitionConfig.Builder getConfigBuilder()+
+ *Required* Provides information to the recognizer that specifies how to + process the request. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig config = 1;public RecognitionConfigOrBuilder getConfigOrBuilder()+
+ *Required* Provides information to the recognizer that specifies how to + process the request. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig config = 1;getConfigOrBuilder in interface LongRunningRecognizeRequestOrBuilderpublic boolean hasAudio()+
+ *Required* The audio data to be recognized. ++ +
.google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2;hasAudio in interface LongRunningRecognizeRequestOrBuilderpublic RecognitionAudio getAudio()+
+ *Required* The audio data to be recognized. ++ +
.google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2;getAudio in interface LongRunningRecognizeRequestOrBuilderpublic LongRunningRecognizeRequest.Builder setAudio(RecognitionAudio value)+
+ *Required* The audio data to be recognized. ++ +
.google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2;public LongRunningRecognizeRequest.Builder setAudio(RecognitionAudio.Builder builderForValue)+
+ *Required* The audio data to be recognized. ++ +
.google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2;public LongRunningRecognizeRequest.Builder mergeAudio(RecognitionAudio value)+
+ *Required* The audio data to be recognized. ++ +
.google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2;public LongRunningRecognizeRequest.Builder clearAudio()+
+ *Required* The audio data to be recognized. ++ +
.google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2;public RecognitionAudio.Builder getAudioBuilder()+
+ *Required* The audio data to be recognized. ++ +
.google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2;public RecognitionAudioOrBuilder getAudioOrBuilder()+
+ *Required* The audio data to be recognized. ++ +
.google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2;getAudioOrBuilder in interface LongRunningRecognizeRequestOrBuilderpublic final LongRunningRecognizeRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)+
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LongRunningRecognizeRequest.Builder>public final LongRunningRecognizeRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)+
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LongRunningRecognizeRequest.Builder>public final class LongRunningRecognizeRequest +extends com.google.protobuf.GeneratedMessageV3 +implements LongRunningRecognizeRequestOrBuilder+
+ The top-level message sent by the client for the `LongRunningRecognize` + method. ++ + Protobuf type
google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest| Modifier and Type | +Class and Description | +
|---|---|
static class |
+LongRunningRecognizeRequest.Builder
+
+ The top-level message sent by the client for the `LongRunningRecognize`
+ method.
+ |
+
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | +Field and Description | +
|---|---|
static int |
+AUDIO_FIELD_NUMBER |
+
static int |
+CONFIG_FIELD_NUMBER |
+
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | +Method and Description | +
|---|---|
boolean |
+equals(java.lang.Object obj) |
+
RecognitionAudio |
+getAudio()
+
+ *Required* The audio data to be recognized.
+ |
+
RecognitionAudioOrBuilder |
+getAudioOrBuilder()
+
+ *Required* The audio data to be recognized.
+ |
+
RecognitionConfig |
+getConfig()
+
+ *Required* Provides information to the recognizer that specifies how to
+ process the request.
+ |
+
RecognitionConfigOrBuilder |
+getConfigOrBuilder()
+
+ *Required* Provides information to the recognizer that specifies how to
+ process the request.
+ |
+
static LongRunningRecognizeRequest |
+getDefaultInstance() |
+
LongRunningRecognizeRequest |
+getDefaultInstanceForType() |
+
static com.google.protobuf.Descriptors.Descriptor |
+getDescriptor() |
+
com.google.protobuf.Parser<LongRunningRecognizeRequest> |
+getParserForType() |
+
int |
+getSerializedSize() |
+
com.google.protobuf.UnknownFieldSet |
+getUnknownFields() |
+
boolean |
+hasAudio()
+
+ *Required* The audio data to be recognized.
+ |
+
boolean |
+hasConfig()
+
+ *Required* Provides information to the recognizer that specifies how to
+ process the request.
+ |
+
int |
+hashCode() |
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
+internalGetFieldAccessorTable() |
+
boolean |
+isInitialized() |
+
static LongRunningRecognizeRequest.Builder |
+newBuilder() |
+
static LongRunningRecognizeRequest.Builder |
+newBuilder(LongRunningRecognizeRequest prototype) |
+
LongRunningRecognizeRequest.Builder |
+newBuilderForType() |
+
protected LongRunningRecognizeRequest.Builder |
+newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
+
static LongRunningRecognizeRequest |
+parseDelimitedFrom(java.io.InputStream input) |
+
static LongRunningRecognizeRequest |
+parseDelimitedFrom(java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static LongRunningRecognizeRequest |
+parseFrom(byte[] data) |
+
static LongRunningRecognizeRequest |
+parseFrom(byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static LongRunningRecognizeRequest |
+parseFrom(java.nio.ByteBuffer data) |
+
static LongRunningRecognizeRequest |
+parseFrom(java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static LongRunningRecognizeRequest |
+parseFrom(com.google.protobuf.ByteString data) |
+
static LongRunningRecognizeRequest |
+parseFrom(com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static LongRunningRecognizeRequest |
+parseFrom(com.google.protobuf.CodedInputStream input) |
+
static LongRunningRecognizeRequest |
+parseFrom(com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static LongRunningRecognizeRequest |
+parseFrom(java.io.InputStream input) |
+
static LongRunningRecognizeRequest |
+parseFrom(java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static com.google.protobuf.Parser<LongRunningRecognizeRequest> |
+parser() |
+
LongRunningRecognizeRequest.Builder |
+toBuilder() |
+
void |
+writeTo(com.google.protobuf.CodedOutputStream output) |
+
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int CONFIG_FIELD_NUMBER+
public static final int AUDIO_FIELD_NUMBER+
public final com.google.protobuf.UnknownFieldSet getUnknownFields()+
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()+
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasConfig()+
+ *Required* Provides information to the recognizer that specifies how to + process the request. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig config = 1;hasConfig in interface LongRunningRecognizeRequestOrBuilderpublic RecognitionConfig getConfig()+
+ *Required* Provides information to the recognizer that specifies how to + process the request. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig config = 1;getConfig in interface LongRunningRecognizeRequestOrBuilderpublic RecognitionConfigOrBuilder getConfigOrBuilder()+
+ *Required* Provides information to the recognizer that specifies how to + process the request. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig config = 1;getConfigOrBuilder in interface LongRunningRecognizeRequestOrBuilderpublic boolean hasAudio()+
+ *Required* The audio data to be recognized. ++ +
.google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2;hasAudio in interface LongRunningRecognizeRequestOrBuilderpublic RecognitionAudio getAudio()+
+ *Required* The audio data to be recognized. ++ +
.google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2;getAudio in interface LongRunningRecognizeRequestOrBuilderpublic RecognitionAudioOrBuilder getAudioOrBuilder()+
+ *Required* The audio data to be recognized. ++ +
.google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2;getAudioOrBuilder in interface LongRunningRecognizeRequestOrBuilderpublic final boolean isInitialized()+
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException+
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()+
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)+
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()+
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static LongRunningRecognizeRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LongRunningRecognizeRequest parseFrom(java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LongRunningRecognizeRequest parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LongRunningRecognizeRequest parseFrom(com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LongRunningRecognizeRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LongRunningRecognizeRequest parseFrom(byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LongRunningRecognizeRequest parseFrom(java.io.InputStream input) + throws java.io.IOException+
java.io.IOExceptionpublic static LongRunningRecognizeRequest parseFrom(java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
java.io.IOExceptionpublic static LongRunningRecognizeRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException+
java.io.IOExceptionpublic static LongRunningRecognizeRequest parseDelimitedFrom(java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
java.io.IOExceptionpublic static LongRunningRecognizeRequest parseFrom(com.google.protobuf.CodedInputStream input) + throws java.io.IOException+
java.io.IOExceptionpublic static LongRunningRecognizeRequest parseFrom(com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
java.io.IOExceptionpublic LongRunningRecognizeRequest.Builder newBuilderForType()+
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static LongRunningRecognizeRequest.Builder newBuilder()+
public static LongRunningRecognizeRequest.Builder newBuilder(LongRunningRecognizeRequest prototype)+
public LongRunningRecognizeRequest.Builder toBuilder()+
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected LongRunningRecognizeRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)+
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static LongRunningRecognizeRequest getDefaultInstance()+
public static com.google.protobuf.Parser<LongRunningRecognizeRequest> parser()+
public com.google.protobuf.Parser<LongRunningRecognizeRequest> getParserForType()+
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public LongRunningRecognizeRequest getDefaultInstanceForType()+
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic interface LongRunningRecognizeRequestOrBuilder
+extends com.google.protobuf.MessageOrBuilder
+| Modifier and Type | +Method and Description | +
|---|---|
RecognitionAudio |
+getAudio()
+
+ *Required* The audio data to be recognized.
+ |
+
RecognitionAudioOrBuilder |
+getAudioOrBuilder()
+
+ *Required* The audio data to be recognized.
+ |
+
RecognitionConfig |
+getConfig()
+
+ *Required* Provides information to the recognizer that specifies how to
+ process the request.
+ |
+
RecognitionConfigOrBuilder |
+getConfigOrBuilder()
+
+ *Required* Provides information to the recognizer that specifies how to
+ process the request.
+ |
+
boolean |
+hasAudio()
+
+ *Required* The audio data to be recognized.
+ |
+
boolean |
+hasConfig()
+
+ *Required* Provides information to the recognizer that specifies how to
+ process the request.
+ |
+
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofisInitializedboolean hasConfig()+
+ *Required* Provides information to the recognizer that specifies how to + process the request. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig config = 1;RecognitionConfig getConfig()+
+ *Required* Provides information to the recognizer that specifies how to + process the request. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig config = 1;RecognitionConfigOrBuilder getConfigOrBuilder()+
+ *Required* Provides information to the recognizer that specifies how to + process the request. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig config = 1;boolean hasAudio()+
+ *Required* The audio data to be recognized. ++ +
.google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2;RecognitionAudio getAudio()+
+ *Required* The audio data to be recognized. ++ +
.google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2;RecognitionAudioOrBuilder getAudioOrBuilder()+
+ *Required* The audio data to be recognized. ++ +
.google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2;public static final class LongRunningRecognizeResponse.Builder +extends com.google.protobuf.GeneratedMessageV3.Builder<LongRunningRecognizeResponse.Builder> +implements LongRunningRecognizeResponseOrBuilder+
+ The only message returned to the client by the `LongRunningRecognize` method. + It contains the result as zero or more sequential `SpeechRecognitionResult` + messages. It is included in the `result.response` field of the `Operation` + returned by the `GetOperation` call of the `google::longrunning::Operations` + service. ++ + Protobuf type
google.cloud.speech.v1p1beta1.LongRunningRecognizeResponse| Modifier and Type | +Method and Description | +
|---|---|
LongRunningRecognizeResponse.Builder |
+addAllResults(java.lang.Iterable<? extends SpeechRecognitionResult> values)
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
LongRunningRecognizeResponse.Builder |
+addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) |
+
LongRunningRecognizeResponse.Builder |
+addResults(int index,
+ SpeechRecognitionResult.Builder builderForValue)
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
LongRunningRecognizeResponse.Builder |
+addResults(int index,
+ SpeechRecognitionResult value)
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
LongRunningRecognizeResponse.Builder |
+addResults(SpeechRecognitionResult.Builder builderForValue)
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
LongRunningRecognizeResponse.Builder |
+addResults(SpeechRecognitionResult value)
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
SpeechRecognitionResult.Builder |
+addResultsBuilder()
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
SpeechRecognitionResult.Builder |
+addResultsBuilder(int index)
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
LongRunningRecognizeResponse |
+build() |
+
LongRunningRecognizeResponse |
+buildPartial() |
+
LongRunningRecognizeResponse.Builder |
+clear() |
+
LongRunningRecognizeResponse.Builder |
+clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
+
LongRunningRecognizeResponse.Builder |
+clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
+
LongRunningRecognizeResponse.Builder |
+clearResults()
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
LongRunningRecognizeResponse.Builder |
+clone() |
+
LongRunningRecognizeResponse |
+getDefaultInstanceForType() |
+
static com.google.protobuf.Descriptors.Descriptor |
+getDescriptor() |
+
com.google.protobuf.Descriptors.Descriptor |
+getDescriptorForType() |
+
SpeechRecognitionResult |
+getResults(int index)
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
SpeechRecognitionResult.Builder |
+getResultsBuilder(int index)
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
java.util.List<SpeechRecognitionResult.Builder> |
+getResultsBuilderList()
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
int |
+getResultsCount()
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
java.util.List<SpeechRecognitionResult> |
+getResultsList()
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
SpeechRecognitionResultOrBuilder |
+getResultsOrBuilder(int index)
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
java.util.List<? extends SpeechRecognitionResultOrBuilder> |
+getResultsOrBuilderList()
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
+internalGetFieldAccessorTable() |
+
boolean |
+isInitialized() |
+
LongRunningRecognizeResponse.Builder |
+mergeFrom(com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
LongRunningRecognizeResponse.Builder |
+mergeFrom(LongRunningRecognizeResponse other) |
+
LongRunningRecognizeResponse.Builder |
+mergeFrom(com.google.protobuf.Message other) |
+
LongRunningRecognizeResponse.Builder |
+mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
+
LongRunningRecognizeResponse.Builder |
+removeResults(int index)
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
LongRunningRecognizeResponse.Builder |
+setField(com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) |
+
LongRunningRecognizeResponse.Builder |
+setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
+ int index,
+ java.lang.Object value) |
+
LongRunningRecognizeResponse.Builder |
+setResults(int index,
+ SpeechRecognitionResult.Builder builderForValue)
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
LongRunningRecognizeResponse.Builder |
+setResults(int index,
+ SpeechRecognitionResult value)
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
LongRunningRecognizeResponse.Builder |
+setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
+
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()+
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<LongRunningRecognizeResponse.Builder>public LongRunningRecognizeResponse.Builder clear()+
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<LongRunningRecognizeResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()+
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<LongRunningRecognizeResponse.Builder>public LongRunningRecognizeResponse getDefaultInstanceForType()+
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LongRunningRecognizeResponse build()+
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LongRunningRecognizeResponse buildPartial()+
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LongRunningRecognizeResponse.Builder clone()+
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<LongRunningRecognizeResponse.Builder>public LongRunningRecognizeResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value)+
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<LongRunningRecognizeResponse.Builder>public LongRunningRecognizeResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)+
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<LongRunningRecognizeResponse.Builder>public LongRunningRecognizeResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)+
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<LongRunningRecognizeResponse.Builder>public LongRunningRecognizeResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value)+
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<LongRunningRecognizeResponse.Builder>public LongRunningRecognizeResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value)+
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<LongRunningRecognizeResponse.Builder>public LongRunningRecognizeResponse.Builder mergeFrom(com.google.protobuf.Message other)+
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LongRunningRecognizeResponse.Builder>public LongRunningRecognizeResponse.Builder mergeFrom(LongRunningRecognizeResponse other)+
public final boolean isInitialized()+
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LongRunningRecognizeResponse.Builder>public LongRunningRecognizeResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LongRunningRecognizeResponse.Builder>java.io.IOExceptionpublic java.util.List<SpeechRecognitionResult> getResultsList()+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;getResultsList in interface LongRunningRecognizeResponseOrBuilderpublic int getResultsCount()+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;getResultsCount in interface LongRunningRecognizeResponseOrBuilderpublic SpeechRecognitionResult getResults(int index)+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;getResults in interface LongRunningRecognizeResponseOrBuilderpublic LongRunningRecognizeResponse.Builder setResults(int index, + SpeechRecognitionResult value)+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;public LongRunningRecognizeResponse.Builder setResults(int index, + SpeechRecognitionResult.Builder builderForValue)+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;public LongRunningRecognizeResponse.Builder addResults(SpeechRecognitionResult value)+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;public LongRunningRecognizeResponse.Builder addResults(int index, + SpeechRecognitionResult value)+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;public LongRunningRecognizeResponse.Builder addResults(SpeechRecognitionResult.Builder builderForValue)+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;public LongRunningRecognizeResponse.Builder addResults(int index, + SpeechRecognitionResult.Builder builderForValue)+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;public LongRunningRecognizeResponse.Builder addAllResults(java.lang.Iterable<? extends SpeechRecognitionResult> values)+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;public LongRunningRecognizeResponse.Builder clearResults()+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;public LongRunningRecognizeResponse.Builder removeResults(int index)+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;public SpeechRecognitionResult.Builder getResultsBuilder(int index)+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;public SpeechRecognitionResultOrBuilder getResultsOrBuilder(int index)+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;getResultsOrBuilder in interface LongRunningRecognizeResponseOrBuilderpublic java.util.List<? extends SpeechRecognitionResultOrBuilder> getResultsOrBuilderList()+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;getResultsOrBuilderList in interface LongRunningRecognizeResponseOrBuilderpublic SpeechRecognitionResult.Builder addResultsBuilder()+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;public SpeechRecognitionResult.Builder addResultsBuilder(int index)+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;public java.util.List<SpeechRecognitionResult.Builder> getResultsBuilderList()+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;public final LongRunningRecognizeResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)+
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LongRunningRecognizeResponse.Builder>public final LongRunningRecognizeResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)+
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LongRunningRecognizeResponse.Builder>public final class LongRunningRecognizeResponse +extends com.google.protobuf.GeneratedMessageV3 +implements LongRunningRecognizeResponseOrBuilder+
+ The only message returned to the client by the `LongRunningRecognize` method. + It contains the result as zero or more sequential `SpeechRecognitionResult` + messages. It is included in the `result.response` field of the `Operation` + returned by the `GetOperation` call of the `google::longrunning::Operations` + service. ++ + Protobuf type
google.cloud.speech.v1p1beta1.LongRunningRecognizeResponse| Modifier and Type | +Class and Description | +
|---|---|
static class |
+LongRunningRecognizeResponse.Builder
+
+ The only message returned to the client by the `LongRunningRecognize` method.
+ |
+
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | +Field and Description | +
|---|---|
static int |
+RESULTS_FIELD_NUMBER |
+
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | +Method and Description | +
|---|---|
boolean |
+equals(java.lang.Object obj) |
+
static LongRunningRecognizeResponse |
+getDefaultInstance() |
+
LongRunningRecognizeResponse |
+getDefaultInstanceForType() |
+
static com.google.protobuf.Descriptors.Descriptor |
+getDescriptor() |
+
com.google.protobuf.Parser<LongRunningRecognizeResponse> |
+getParserForType() |
+
SpeechRecognitionResult |
+getResults(int index)
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
int |
+getResultsCount()
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
java.util.List<SpeechRecognitionResult> |
+getResultsList()
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
SpeechRecognitionResultOrBuilder |
+getResultsOrBuilder(int index)
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
java.util.List<? extends SpeechRecognitionResultOrBuilder> |
+getResultsOrBuilderList()
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
int |
+getSerializedSize() |
+
com.google.protobuf.UnknownFieldSet |
+getUnknownFields() |
+
int |
+hashCode() |
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
+internalGetFieldAccessorTable() |
+
boolean |
+isInitialized() |
+
static LongRunningRecognizeResponse.Builder |
+newBuilder() |
+
static LongRunningRecognizeResponse.Builder |
+newBuilder(LongRunningRecognizeResponse prototype) |
+
LongRunningRecognizeResponse.Builder |
+newBuilderForType() |
+
protected LongRunningRecognizeResponse.Builder |
+newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
+
static LongRunningRecognizeResponse |
+parseDelimitedFrom(java.io.InputStream input) |
+
static LongRunningRecognizeResponse |
+parseDelimitedFrom(java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static LongRunningRecognizeResponse |
+parseFrom(byte[] data) |
+
static LongRunningRecognizeResponse |
+parseFrom(byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static LongRunningRecognizeResponse |
+parseFrom(java.nio.ByteBuffer data) |
+
static LongRunningRecognizeResponse |
+parseFrom(java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static LongRunningRecognizeResponse |
+parseFrom(com.google.protobuf.ByteString data) |
+
static LongRunningRecognizeResponse |
+parseFrom(com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static LongRunningRecognizeResponse |
+parseFrom(com.google.protobuf.CodedInputStream input) |
+
static LongRunningRecognizeResponse |
+parseFrom(com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static LongRunningRecognizeResponse |
+parseFrom(java.io.InputStream input) |
+
static LongRunningRecognizeResponse |
+parseFrom(java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static com.google.protobuf.Parser<LongRunningRecognizeResponse> |
+parser() |
+
LongRunningRecognizeResponse.Builder |
+toBuilder() |
+
void |
+writeTo(com.google.protobuf.CodedOutputStream output) |
+
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int RESULTS_FIELD_NUMBER+
public final com.google.protobuf.UnknownFieldSet getUnknownFields()+
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()+
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public java.util.List<SpeechRecognitionResult> getResultsList()+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;getResultsList in interface LongRunningRecognizeResponseOrBuilderpublic java.util.List<? extends SpeechRecognitionResultOrBuilder> getResultsOrBuilderList()+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;getResultsOrBuilderList in interface LongRunningRecognizeResponseOrBuilderpublic int getResultsCount()+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;getResultsCount in interface LongRunningRecognizeResponseOrBuilderpublic SpeechRecognitionResult getResults(int index)+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;getResults in interface LongRunningRecognizeResponseOrBuilderpublic SpeechRecognitionResultOrBuilder getResultsOrBuilder(int index)+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;getResultsOrBuilder in interface LongRunningRecognizeResponseOrBuilderpublic final boolean isInitialized()+
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException+
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()+
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)+
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()+
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static LongRunningRecognizeResponse parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LongRunningRecognizeResponse parseFrom(java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LongRunningRecognizeResponse parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LongRunningRecognizeResponse parseFrom(com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LongRunningRecognizeResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LongRunningRecognizeResponse parseFrom(byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LongRunningRecognizeResponse parseFrom(java.io.InputStream input) + throws java.io.IOException+
java.io.IOExceptionpublic static LongRunningRecognizeResponse parseFrom(java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
java.io.IOExceptionpublic static LongRunningRecognizeResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException+
java.io.IOExceptionpublic static LongRunningRecognizeResponse parseDelimitedFrom(java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
java.io.IOExceptionpublic static LongRunningRecognizeResponse parseFrom(com.google.protobuf.CodedInputStream input) + throws java.io.IOException+
java.io.IOExceptionpublic static LongRunningRecognizeResponse parseFrom(com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
java.io.IOExceptionpublic LongRunningRecognizeResponse.Builder newBuilderForType()+
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static LongRunningRecognizeResponse.Builder newBuilder()+
public static LongRunningRecognizeResponse.Builder newBuilder(LongRunningRecognizeResponse prototype)+
public LongRunningRecognizeResponse.Builder toBuilder()+
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected LongRunningRecognizeResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)+
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static LongRunningRecognizeResponse getDefaultInstance()+
public static com.google.protobuf.Parser<LongRunningRecognizeResponse> parser()+
public com.google.protobuf.Parser<LongRunningRecognizeResponse> getParserForType()+
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public LongRunningRecognizeResponse getDefaultInstanceForType()+
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic interface LongRunningRecognizeResponseOrBuilder
+extends com.google.protobuf.MessageOrBuilder
+| Modifier and Type | +Method and Description | +
|---|---|
SpeechRecognitionResult |
+getResults(int index)
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
int |
+getResultsCount()
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
java.util.List<SpeechRecognitionResult> |
+getResultsList()
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
SpeechRecognitionResultOrBuilder |
+getResultsOrBuilder(int index)
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
java.util.List<? extends SpeechRecognitionResultOrBuilder> |
+getResultsOrBuilderList()
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofisInitializedjava.util.List<SpeechRecognitionResult> getResultsList()+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;SpeechRecognitionResult getResults(int index)+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;int getResultsCount()+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;java.util.List<? extends SpeechRecognitionResultOrBuilder> getResultsOrBuilderList()+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;SpeechRecognitionResultOrBuilder getResultsOrBuilder(int index)+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;public static enum RecognitionAudio.AudioSourceCase +extends java.lang.Enum<RecognitionAudio.AudioSourceCase> +implements com.google.protobuf.Internal.EnumLite+
| Enum Constant and Description | +
|---|
AUDIOSOURCE_NOT_SET |
+
CONTENT |
+
URI |
+
| Modifier and Type | +Method and Description | +
|---|---|
static RecognitionAudio.AudioSourceCase |
+forNumber(int value) |
+
int |
+getNumber() |
+
static RecognitionAudio.AudioSourceCase |
+valueOf(int value)
+Deprecated.
+
+Use
+forNumber(int) instead. |
+
static RecognitionAudio.AudioSourceCase |
+valueOf(java.lang.String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static RecognitionAudio.AudioSourceCase[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetClass, notify, notifyAll, wait, wait, waitpublic static final RecognitionAudio.AudioSourceCase CONTENT+
public static final RecognitionAudio.AudioSourceCase URI+
public static final RecognitionAudio.AudioSourceCase AUDIOSOURCE_NOT_SET+
public static RecognitionAudio.AudioSourceCase[] values()+
+for (RecognitionAudio.AudioSourceCase c : RecognitionAudio.AudioSourceCase.values()) + System.out.println(c); +
public static RecognitionAudio.AudioSourceCase valueOf(java.lang.String name)+
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null@Deprecated +public static RecognitionAudio.AudioSourceCase valueOf(int value)+
forNumber(int) instead.public static RecognitionAudio.AudioSourceCase forNumber(int value)+
public int getNumber()+
getNumber in interface com.google.protobuf.Internal.EnumLitepublic static final class RecognitionAudio.Builder +extends com.google.protobuf.GeneratedMessageV3.Builder<RecognitionAudio.Builder> +implements RecognitionAudioOrBuilder+
+ Contains audio data in the encoding specified in the `RecognitionConfig`. + Either `content` or `uri` must be supplied. Supplying both or neither + returns [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. See + [audio limits](https://cloud.google.com/speech/limits#content). ++ + Protobuf type
google.cloud.speech.v1p1beta1.RecognitionAudio| Modifier and Type | +Method and Description | +
|---|---|
RecognitionAudio.Builder |
+addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) |
+
RecognitionAudio |
+build() |
+
RecognitionAudio |
+buildPartial() |
+
RecognitionAudio.Builder |
+clear() |
+
RecognitionAudio.Builder |
+clearAudioSource() |
+
RecognitionAudio.Builder |
+clearContent()
+
+ The audio data bytes encoded as specified in
+ `RecognitionConfig`.
+ |
+
RecognitionAudio.Builder |
+clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
+
RecognitionAudio.Builder |
+clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
+
RecognitionAudio.Builder |
+clearUri()
+
+ URI that points to a file that contains audio data bytes as specified in
+ `RecognitionConfig`.
+ |
+
RecognitionAudio.Builder |
+clone() |
+
RecognitionAudio.AudioSourceCase |
+getAudioSourceCase() |
+
com.google.protobuf.ByteString |
+getContent()
+
+ The audio data bytes encoded as specified in
+ `RecognitionConfig`.
+ |
+
RecognitionAudio |
+getDefaultInstanceForType() |
+
static com.google.protobuf.Descriptors.Descriptor |
+getDescriptor() |
+
com.google.protobuf.Descriptors.Descriptor |
+getDescriptorForType() |
+
java.lang.String |
+getUri()
+
+ URI that points to a file that contains audio data bytes as specified in
+ `RecognitionConfig`.
+ |
+
com.google.protobuf.ByteString |
+getUriBytes()
+
+ URI that points to a file that contains audio data bytes as specified in
+ `RecognitionConfig`.
+ |
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
+internalGetFieldAccessorTable() |
+
boolean |
+isInitialized() |
+
RecognitionAudio.Builder |
+mergeFrom(com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
RecognitionAudio.Builder |
+mergeFrom(com.google.protobuf.Message other) |
+
RecognitionAudio.Builder |
+mergeFrom(RecognitionAudio other) |
+
RecognitionAudio.Builder |
+mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
+
RecognitionAudio.Builder |
+setContent(com.google.protobuf.ByteString value)
+
+ The audio data bytes encoded as specified in
+ `RecognitionConfig`.
+ |
+
RecognitionAudio.Builder |
+setField(com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) |
+
RecognitionAudio.Builder |
+setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
+ int index,
+ java.lang.Object value) |
+
RecognitionAudio.Builder |
+setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
+
RecognitionAudio.Builder |
+setUri(java.lang.String value)
+
+ URI that points to a file that contains audio data bytes as specified in
+ `RecognitionConfig`.
+ |
+
RecognitionAudio.Builder |
+setUriBytes(com.google.protobuf.ByteString value)
+
+ URI that points to a file that contains audio data bytes as specified in
+ `RecognitionConfig`.
+ |
+
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()+
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RecognitionAudio.Builder>public RecognitionAudio.Builder clear()+
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RecognitionAudio.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()+
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RecognitionAudio.Builder>public RecognitionAudio getDefaultInstanceForType()+
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RecognitionAudio build()+
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RecognitionAudio buildPartial()+
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RecognitionAudio.Builder clone()+
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RecognitionAudio.Builder>public RecognitionAudio.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value)+
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<RecognitionAudio.Builder>public RecognitionAudio.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)+
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RecognitionAudio.Builder>public RecognitionAudio.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)+
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RecognitionAudio.Builder>public RecognitionAudio.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value)+
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RecognitionAudio.Builder>public RecognitionAudio.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value)+
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RecognitionAudio.Builder>public RecognitionAudio.Builder mergeFrom(com.google.protobuf.Message other)+
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RecognitionAudio.Builder>public RecognitionAudio.Builder mergeFrom(RecognitionAudio other)+
public final boolean isInitialized()+
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RecognitionAudio.Builder>public RecognitionAudio.Builder mergeFrom(com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RecognitionAudio.Builder>java.io.IOExceptionpublic RecognitionAudio.AudioSourceCase getAudioSourceCase()+
getAudioSourceCase in interface RecognitionAudioOrBuilderpublic RecognitionAudio.Builder clearAudioSource()+
public com.google.protobuf.ByteString getContent()+
+ The audio data bytes encoded as specified in + `RecognitionConfig`. Note: as with all bytes fields, protobuffers use a + pure binary representation, whereas JSON representations use base64. ++ +
bytes content = 1;getContent in interface RecognitionAudioOrBuilderpublic RecognitionAudio.Builder setContent(com.google.protobuf.ByteString value)+
+ The audio data bytes encoded as specified in + `RecognitionConfig`. Note: as with all bytes fields, protobuffers use a + pure binary representation, whereas JSON representations use base64. ++ +
bytes content = 1;public RecognitionAudio.Builder clearContent()+
+ The audio data bytes encoded as specified in + `RecognitionConfig`. Note: as with all bytes fields, protobuffers use a + pure binary representation, whereas JSON representations use base64. ++ +
bytes content = 1;public java.lang.String getUri()+
+ URI that points to a file that contains audio data bytes as specified in + `RecognitionConfig`. Currently, only Google Cloud Storage URIs are + supported, which must be specified in the following format: + `gs://bucket_name/object_name` (other URI formats return + [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see + [Request URIs](https://cloud.google.com/storage/docs/reference-uris). ++ +
string uri = 2;getUri in interface RecognitionAudioOrBuilderpublic com.google.protobuf.ByteString getUriBytes()+
+ URI that points to a file that contains audio data bytes as specified in + `RecognitionConfig`. Currently, only Google Cloud Storage URIs are + supported, which must be specified in the following format: + `gs://bucket_name/object_name` (other URI formats return + [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see + [Request URIs](https://cloud.google.com/storage/docs/reference-uris). ++ +
string uri = 2;getUriBytes in interface RecognitionAudioOrBuilderpublic RecognitionAudio.Builder setUri(java.lang.String value)+
+ URI that points to a file that contains audio data bytes as specified in + `RecognitionConfig`. Currently, only Google Cloud Storage URIs are + supported, which must be specified in the following format: + `gs://bucket_name/object_name` (other URI formats return + [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see + [Request URIs](https://cloud.google.com/storage/docs/reference-uris). ++ +
string uri = 2;public RecognitionAudio.Builder clearUri()+
+ URI that points to a file that contains audio data bytes as specified in + `RecognitionConfig`. Currently, only Google Cloud Storage URIs are + supported, which must be specified in the following format: + `gs://bucket_name/object_name` (other URI formats return + [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see + [Request URIs](https://cloud.google.com/storage/docs/reference-uris). ++ +
string uri = 2;public RecognitionAudio.Builder setUriBytes(com.google.protobuf.ByteString value)+
+ URI that points to a file that contains audio data bytes as specified in + `RecognitionConfig`. Currently, only Google Cloud Storage URIs are + supported, which must be specified in the following format: + `gs://bucket_name/object_name` (other URI formats return + [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see + [Request URIs](https://cloud.google.com/storage/docs/reference-uris). ++ +
string uri = 2;public final RecognitionAudio.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)+
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RecognitionAudio.Builder>public final RecognitionAudio.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)+
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RecognitionAudio.Builder>public final class RecognitionAudio +extends com.google.protobuf.GeneratedMessageV3 +implements RecognitionAudioOrBuilder+
+ Contains audio data in the encoding specified in the `RecognitionConfig`. + Either `content` or `uri` must be supplied. Supplying both or neither + returns [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. See + [audio limits](https://cloud.google.com/speech/limits#content). ++ + Protobuf type
google.cloud.speech.v1p1beta1.RecognitionAudio| Modifier and Type | +Class and Description | +
|---|---|
static class |
+RecognitionAudio.AudioSourceCase |
+
static class |
+RecognitionAudio.Builder
+
+ Contains audio data in the encoding specified in the `RecognitionConfig`.
+ |
+
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | +Field and Description | +
|---|---|
static int |
+CONTENT_FIELD_NUMBER |
+
static int |
+URI_FIELD_NUMBER |
+
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | +Method and Description | +
|---|---|
boolean |
+equals(java.lang.Object obj) |
+
RecognitionAudio.AudioSourceCase |
+getAudioSourceCase() |
+
com.google.protobuf.ByteString |
+getContent()
+
+ The audio data bytes encoded as specified in
+ `RecognitionConfig`.
+ |
+
static RecognitionAudio |
+getDefaultInstance() |
+
RecognitionAudio |
+getDefaultInstanceForType() |
+
static com.google.protobuf.Descriptors.Descriptor |
+getDescriptor() |
+
com.google.protobuf.Parser<RecognitionAudio> |
+getParserForType() |
+
int |
+getSerializedSize() |
+
com.google.protobuf.UnknownFieldSet |
+getUnknownFields() |
+
java.lang.String |
+getUri()
+
+ URI that points to a file that contains audio data bytes as specified in
+ `RecognitionConfig`.
+ |
+
com.google.protobuf.ByteString |
+getUriBytes()
+
+ URI that points to a file that contains audio data bytes as specified in
+ `RecognitionConfig`.
+ |
+
int |
+hashCode() |
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
+internalGetFieldAccessorTable() |
+
boolean |
+isInitialized() |
+
static RecognitionAudio.Builder |
+newBuilder() |
+
static RecognitionAudio.Builder |
+newBuilder(RecognitionAudio prototype) |
+
RecognitionAudio.Builder |
+newBuilderForType() |
+
protected RecognitionAudio.Builder |
+newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
+
static RecognitionAudio |
+parseDelimitedFrom(java.io.InputStream input) |
+
static RecognitionAudio |
+parseDelimitedFrom(java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static RecognitionAudio |
+parseFrom(byte[] data) |
+
static RecognitionAudio |
+parseFrom(byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static RecognitionAudio |
+parseFrom(java.nio.ByteBuffer data) |
+
static RecognitionAudio |
+parseFrom(java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static RecognitionAudio |
+parseFrom(com.google.protobuf.ByteString data) |
+
static RecognitionAudio |
+parseFrom(com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static RecognitionAudio |
+parseFrom(com.google.protobuf.CodedInputStream input) |
+
static RecognitionAudio |
+parseFrom(com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static RecognitionAudio |
+parseFrom(java.io.InputStream input) |
+
static RecognitionAudio |
+parseFrom(java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static com.google.protobuf.Parser<RecognitionAudio> |
+parser() |
+
RecognitionAudio.Builder |
+toBuilder() |
+
void |
+writeTo(com.google.protobuf.CodedOutputStream output) |
+
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int CONTENT_FIELD_NUMBER+
public static final int URI_FIELD_NUMBER+
public final com.google.protobuf.UnknownFieldSet getUnknownFields()+
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()+
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public RecognitionAudio.AudioSourceCase getAudioSourceCase()+
getAudioSourceCase in interface RecognitionAudioOrBuilderpublic com.google.protobuf.ByteString getContent()+
+ The audio data bytes encoded as specified in + `RecognitionConfig`. Note: as with all bytes fields, protobuffers use a + pure binary representation, whereas JSON representations use base64. ++ +
bytes content = 1;getContent in interface RecognitionAudioOrBuilderpublic java.lang.String getUri()+
+ URI that points to a file that contains audio data bytes as specified in + `RecognitionConfig`. Currently, only Google Cloud Storage URIs are + supported, which must be specified in the following format: + `gs://bucket_name/object_name` (other URI formats return + [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see + [Request URIs](https://cloud.google.com/storage/docs/reference-uris). ++ +
string uri = 2;getUri in interface RecognitionAudioOrBuilderpublic com.google.protobuf.ByteString getUriBytes()+
+ URI that points to a file that contains audio data bytes as specified in + `RecognitionConfig`. Currently, only Google Cloud Storage URIs are + supported, which must be specified in the following format: + `gs://bucket_name/object_name` (other URI formats return + [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see + [Request URIs](https://cloud.google.com/storage/docs/reference-uris). ++ +
string uri = 2;getUriBytes in interface RecognitionAudioOrBuilderpublic final boolean isInitialized()+
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException+
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()+
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)+
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()+
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static RecognitionAudio parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RecognitionAudio parseFrom(java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RecognitionAudio parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RecognitionAudio parseFrom(com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RecognitionAudio parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RecognitionAudio parseFrom(byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RecognitionAudio parseFrom(java.io.InputStream input) + throws java.io.IOException+
java.io.IOExceptionpublic static RecognitionAudio parseFrom(java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
java.io.IOExceptionpublic static RecognitionAudio parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException+
java.io.IOExceptionpublic static RecognitionAudio parseDelimitedFrom(java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
java.io.IOExceptionpublic static RecognitionAudio parseFrom(com.google.protobuf.CodedInputStream input) + throws java.io.IOException+
java.io.IOExceptionpublic static RecognitionAudio parseFrom(com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
java.io.IOExceptionpublic RecognitionAudio.Builder newBuilderForType()+
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RecognitionAudio.Builder newBuilder()+
public static RecognitionAudio.Builder newBuilder(RecognitionAudio prototype)+
public RecognitionAudio.Builder toBuilder()+
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RecognitionAudio.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)+
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static RecognitionAudio getDefaultInstance()+
public static com.google.protobuf.Parser<RecognitionAudio> parser()+
public com.google.protobuf.Parser<RecognitionAudio> getParserForType()+
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RecognitionAudio getDefaultInstanceForType()+
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic interface RecognitionAudioOrBuilder
+extends com.google.protobuf.MessageOrBuilder
+| Modifier and Type | +Method and Description | +
|---|---|
RecognitionAudio.AudioSourceCase |
+getAudioSourceCase() |
+
com.google.protobuf.ByteString |
+getContent()
+
+ The audio data bytes encoded as specified in
+ `RecognitionConfig`.
+ |
+
java.lang.String |
+getUri()
+
+ URI that points to a file that contains audio data bytes as specified in
+ `RecognitionConfig`.
+ |
+
com.google.protobuf.ByteString |
+getUriBytes()
+
+ URI that points to a file that contains audio data bytes as specified in
+ `RecognitionConfig`.
+ |
+
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofisInitializedcom.google.protobuf.ByteString getContent()+
+ The audio data bytes encoded as specified in + `RecognitionConfig`. Note: as with all bytes fields, protobuffers use a + pure binary representation, whereas JSON representations use base64. ++ +
bytes content = 1;java.lang.String getUri()+
+ URI that points to a file that contains audio data bytes as specified in + `RecognitionConfig`. Currently, only Google Cloud Storage URIs are + supported, which must be specified in the following format: + `gs://bucket_name/object_name` (other URI formats return + [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see + [Request URIs](https://cloud.google.com/storage/docs/reference-uris). ++ +
string uri = 2;com.google.protobuf.ByteString getUriBytes()+
+ URI that points to a file that contains audio data bytes as specified in + `RecognitionConfig`. Currently, only Google Cloud Storage URIs are + supported, which must be specified in the following format: + `gs://bucket_name/object_name` (other URI formats return + [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see + [Request URIs](https://cloud.google.com/storage/docs/reference-uris). ++ +
string uri = 2;RecognitionAudio.AudioSourceCase getAudioSourceCase()+
public static enum RecognitionConfig.AudioEncoding +extends java.lang.Enum<RecognitionConfig.AudioEncoding> +implements com.google.protobuf.ProtocolMessageEnum+
+ The encoding of the audio data sent in the request. + All encodings support only 1 channel (mono) audio. + If you send a `FLAC` or `WAV` audio file format in the request, + then if you specify an encoding in `AudioEncoding`, it must match the + encoding described in the audio header. If it does not match, then the + request returns an + [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] error code. You can request + recognition for `WAV` files that contain either `LINEAR16` or `MULAW` + encoded audio. + For audio file formats other than `FLAC` or `WAV`, you must + specify the audio encoding in your `RecognitionConfig`. + For best results, the audio source should be captured and transmitted using + a lossless encoding (`FLAC` or `LINEAR16`). The accuracy of the speech + recognition can be reduced if lossy codecs, which include the other codecs + listed in this section, are used to capture or transmit the audio, + particularly if background noise is present. ++ + Protobuf enum
google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding| Enum Constant and Description | +
|---|
AMR
+
+ Adaptive Multi-Rate Narrowband codec.
+ |
+
AMR_WB
+
+ Adaptive Multi-Rate Wideband codec.
+ |
+
ENCODING_UNSPECIFIED
+
+ Not specified.
+ |
+
FLAC
+
+ [`FLAC`](https://xiph.org/flac/documentation.html) (Free Lossless Audio
+ Codec) is the recommended encoding because it is
+ lossless--therefore recognition is not compromised--and
+ requires only about half the bandwidth of `LINEAR16`.
+ |
+
LINEAR16
+
+ Uncompressed 16-bit signed little-endian samples (Linear PCM).
+ |
+
MULAW
+
+ 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law.
+ |
+
OGG_OPUS
+
+ Opus encoded audio frames in Ogg container
+ ([OggOpus](https://wiki.xiph.org/OggOpus)).
+ |
+
SPEEX_WITH_HEADER_BYTE
+
+ Although the use of lossy encodings is not recommended, if a very low
+ bitrate encoding is required, `OGG_OPUS` is highly preferred over
+ Speex encoding.
+ |
+
UNRECOGNIZED |
+
| Modifier and Type | +Field and Description | +
|---|---|
static int |
+AMR_VALUE
+
+ Adaptive Multi-Rate Narrowband codec.
+ |
+
static int |
+AMR_WB_VALUE
+
+ Adaptive Multi-Rate Wideband codec.
+ |
+
static int |
+ENCODING_UNSPECIFIED_VALUE
+
+ Not specified.
+ |
+
static int |
+FLAC_VALUE
+
+ [`FLAC`](https://xiph.org/flac/documentation.html) (Free Lossless Audio
+ Codec) is the recommended encoding because it is
+ lossless--therefore recognition is not compromised--and
+ requires only about half the bandwidth of `LINEAR16`.
+ |
+
static int |
+LINEAR16_VALUE
+
+ Uncompressed 16-bit signed little-endian samples (Linear PCM).
+ |
+
static int |
+MULAW_VALUE
+
+ 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law.
+ |
+
static int |
+OGG_OPUS_VALUE
+
+ Opus encoded audio frames in Ogg container
+ ([OggOpus](https://wiki.xiph.org/OggOpus)).
+ |
+
static int |
+SPEEX_WITH_HEADER_BYTE_VALUE
+
+ Although the use of lossy encodings is not recommended, if a very low
+ bitrate encoding is required, `OGG_OPUS` is highly preferred over
+ Speex encoding.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
static RecognitionConfig.AudioEncoding |
+forNumber(int value) |
+
static com.google.protobuf.Descriptors.EnumDescriptor |
+getDescriptor() |
+
com.google.protobuf.Descriptors.EnumDescriptor |
+getDescriptorForType() |
+
int |
+getNumber() |
+
com.google.protobuf.Descriptors.EnumValueDescriptor |
+getValueDescriptor() |
+
static com.google.protobuf.Internal.EnumLiteMap<RecognitionConfig.AudioEncoding> |
+internalGetValueMap() |
+
static RecognitionConfig.AudioEncoding |
+valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
+
static RecognitionConfig.AudioEncoding |
+valueOf(int value)
+Deprecated.
+
+Use
+forNumber(int) instead. |
+
static RecognitionConfig.AudioEncoding |
+valueOf(java.lang.String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static RecognitionConfig.AudioEncoding[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetClass, notify, notifyAll, wait, wait, waitpublic static final RecognitionConfig.AudioEncoding ENCODING_UNSPECIFIED+
+ Not specified. ++ +
ENCODING_UNSPECIFIED = 0;public static final RecognitionConfig.AudioEncoding LINEAR16+
+ Uncompressed 16-bit signed little-endian samples (Linear PCM). ++ +
LINEAR16 = 1;public static final RecognitionConfig.AudioEncoding FLAC+
+ [`FLAC`](https://xiph.org/flac/documentation.html) (Free Lossless Audio + Codec) is the recommended encoding because it is + lossless--therefore recognition is not compromised--and + requires only about half the bandwidth of `LINEAR16`. `FLAC` stream + encoding supports 16-bit and 24-bit samples, however, not all fields in + `STREAMINFO` are supported. ++ +
FLAC = 2;public static final RecognitionConfig.AudioEncoding MULAW+
+ 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law. ++ +
MULAW = 3;public static final RecognitionConfig.AudioEncoding AMR+
+ Adaptive Multi-Rate Narrowband codec. `sample_rate_hertz` must be 8000. ++ +
AMR = 4;public static final RecognitionConfig.AudioEncoding AMR_WB+
+ Adaptive Multi-Rate Wideband codec. `sample_rate_hertz` must be 16000. ++ +
AMR_WB = 5;public static final RecognitionConfig.AudioEncoding OGG_OPUS+
+ Opus encoded audio frames in Ogg container + ([OggOpus](https://wiki.xiph.org/OggOpus)). + `sample_rate_hertz` must be one of 8000, 12000, 16000, 24000, or 48000. ++ +
OGG_OPUS = 6;public static final RecognitionConfig.AudioEncoding SPEEX_WITH_HEADER_BYTE+
+ Although the use of lossy encodings is not recommended, if a very low + bitrate encoding is required, `OGG_OPUS` is highly preferred over + Speex encoding. The [Speex](https://speex.org/) encoding supported by + Cloud Speech API has a header byte in each block, as in MIME type + `audio/x-speex-with-header-byte`. + It is a variant of the RTP Speex encoding defined in + [RFC 5574](https://tools.ietf.org/html/rfc5574). + The stream is a sequence of blocks, one block per RTP packet. Each block + starts with a byte containing the length of the block, in bytes, followed + by one or more frames of Speex data, padded to an integral number of + bytes (octets) as specified in RFC 5574. In other words, each RTP header + is replaced with a single byte containing the block length. Only Speex + wideband is supported. `sample_rate_hertz` must be 16000. ++ +
SPEEX_WITH_HEADER_BYTE = 7;public static final RecognitionConfig.AudioEncoding UNRECOGNIZED+
public static final int ENCODING_UNSPECIFIED_VALUE+
+ Not specified. ++ +
ENCODING_UNSPECIFIED = 0;public static final int LINEAR16_VALUE+
+ Uncompressed 16-bit signed little-endian samples (Linear PCM). ++ +
LINEAR16 = 1;public static final int FLAC_VALUE+
+ [`FLAC`](https://xiph.org/flac/documentation.html) (Free Lossless Audio + Codec) is the recommended encoding because it is + lossless--therefore recognition is not compromised--and + requires only about half the bandwidth of `LINEAR16`. `FLAC` stream + encoding supports 16-bit and 24-bit samples, however, not all fields in + `STREAMINFO` are supported. ++ +
FLAC = 2;public static final int MULAW_VALUE+
+ 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law. ++ +
MULAW = 3;public static final int AMR_VALUE+
+ Adaptive Multi-Rate Narrowband codec. `sample_rate_hertz` must be 8000. ++ +
AMR = 4;public static final int AMR_WB_VALUE+
+ Adaptive Multi-Rate Wideband codec. `sample_rate_hertz` must be 16000. ++ +
AMR_WB = 5;public static final int OGG_OPUS_VALUE+
+ Opus encoded audio frames in Ogg container + ([OggOpus](https://wiki.xiph.org/OggOpus)). + `sample_rate_hertz` must be one of 8000, 12000, 16000, 24000, or 48000. ++ +
OGG_OPUS = 6;public static final int SPEEX_WITH_HEADER_BYTE_VALUE+
+ Although the use of lossy encodings is not recommended, if a very low + bitrate encoding is required, `OGG_OPUS` is highly preferred over + Speex encoding. The [Speex](https://speex.org/) encoding supported by + Cloud Speech API has a header byte in each block, as in MIME type + `audio/x-speex-with-header-byte`. + It is a variant of the RTP Speex encoding defined in + [RFC 5574](https://tools.ietf.org/html/rfc5574). + The stream is a sequence of blocks, one block per RTP packet. Each block + starts with a byte containing the length of the block, in bytes, followed + by one or more frames of Speex data, padded to an integral number of + bytes (octets) as specified in RFC 5574. In other words, each RTP header + is replaced with a single byte containing the block length. Only Speex + wideband is supported. `sample_rate_hertz` must be 16000. ++ +
SPEEX_WITH_HEADER_BYTE = 7;public static RecognitionConfig.AudioEncoding[] values()+
+for (RecognitionConfig.AudioEncoding c : RecognitionConfig.AudioEncoding.values()) + System.out.println(c); +
public static RecognitionConfig.AudioEncoding valueOf(java.lang.String name)+
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic final int getNumber()+
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated +public static RecognitionConfig.AudioEncoding valueOf(int value)+
forNumber(int) instead.public static RecognitionConfig.AudioEncoding forNumber(int value)+
public static com.google.protobuf.Internal.EnumLiteMap<RecognitionConfig.AudioEncoding> internalGetValueMap()+
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()+
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()+
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()+
public static RecognitionConfig.AudioEncoding valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)+
public static final class RecognitionConfig.Builder +extends com.google.protobuf.GeneratedMessageV3.Builder<RecognitionConfig.Builder> +implements RecognitionConfigOrBuilder+
+ Provides information to the recognizer that specifies how to process the + request. ++ + Protobuf type
google.cloud.speech.v1p1beta1.RecognitionConfig| Modifier and Type | +Method and Description | +
|---|---|
RecognitionConfig.Builder |
+addAllSpeechContexts(java.lang.Iterable<? extends SpeechContext> values)
+
+ *Optional* A means to provide context to assist the speech recognition.
+ |
+
RecognitionConfig.Builder |
+addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) |
+
RecognitionConfig.Builder |
+addSpeechContexts(int index,
+ SpeechContext.Builder builderForValue)
+
+ *Optional* A means to provide context to assist the speech recognition.
+ |
+
RecognitionConfig.Builder |
+addSpeechContexts(int index,
+ SpeechContext value)
+
+ *Optional* A means to provide context to assist the speech recognition.
+ |
+
RecognitionConfig.Builder |
+addSpeechContexts(SpeechContext.Builder builderForValue)
+
+ *Optional* A means to provide context to assist the speech recognition.
+ |
+
RecognitionConfig.Builder |
+addSpeechContexts(SpeechContext value)
+
+ *Optional* A means to provide context to assist the speech recognition.
+ |
+
SpeechContext.Builder |
+addSpeechContextsBuilder()
+
+ *Optional* A means to provide context to assist the speech recognition.
+ |
+
SpeechContext.Builder |
+addSpeechContextsBuilder(int index)
+
+ *Optional* A means to provide context to assist the speech recognition.
+ |
+
RecognitionConfig |
+build() |
+
RecognitionConfig |
+buildPartial() |
+
RecognitionConfig.Builder |
+clear() |
+
RecognitionConfig.Builder |
+clearEnableWordTimeOffsets()
+
+ *Optional* If `true`, the top result includes a list of words and
+ the start and end time offsets (timestamps) for those words.
+ |
+
RecognitionConfig.Builder |
+clearEncoding()
+
+ *Required* Encoding of audio data sent in all `RecognitionAudio` messages.
+ |
+
RecognitionConfig.Builder |
+clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
+
RecognitionConfig.Builder |
+clearLanguageCode()
+
+ *Required* The language of the supplied audio as a
+ [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
+ |
+
RecognitionConfig.Builder |
+clearMaxAlternatives()
+
+ *Optional* Maximum number of recognition hypotheses to be returned.
+ |
+
RecognitionConfig.Builder |
+clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
+
RecognitionConfig.Builder |
+clearProfanityFilter()
+
+ *Optional* If set to `true`, the server will attempt to filter out
+ profanities, replacing all but the initial character in each filtered word
+ with asterisks, e.g.
+ |
+
RecognitionConfig.Builder |
+clearSampleRateHertz()
+
+ *Required* Sample rate in Hertz of the audio data sent in all
+ `RecognitionAudio` messages.
+ |
+
RecognitionConfig.Builder |
+clearSpeechContexts()
+
+ *Optional* A means to provide context to assist the speech recognition.
+ |
+
RecognitionConfig.Builder |
+clone() |
+
RecognitionConfig |
+getDefaultInstanceForType() |
+
static com.google.protobuf.Descriptors.Descriptor |
+getDescriptor() |
+
com.google.protobuf.Descriptors.Descriptor |
+getDescriptorForType() |
+
boolean |
+getEnableWordTimeOffsets()
+
+ *Optional* If `true`, the top result includes a list of words and
+ the start and end time offsets (timestamps) for those words.
+ |
+
RecognitionConfig.AudioEncoding |
+getEncoding()
+
+ *Required* Encoding of audio data sent in all `RecognitionAudio` messages.
+ |
+
int |
+getEncodingValue()
+
+ *Required* Encoding of audio data sent in all `RecognitionAudio` messages.
+ |
+
java.lang.String |
+getLanguageCode()
+
+ *Required* The language of the supplied audio as a
+ [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
+ |
+
com.google.protobuf.ByteString |
+getLanguageCodeBytes()
+
+ *Required* The language of the supplied audio as a
+ [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
+ |
+
int |
+getMaxAlternatives()
+
+ *Optional* Maximum number of recognition hypotheses to be returned.
+ |
+
boolean |
+getProfanityFilter()
+
+ *Optional* If set to `true`, the server will attempt to filter out
+ profanities, replacing all but the initial character in each filtered word
+ with asterisks, e.g.
+ |
+
int |
+getSampleRateHertz()
+
+ *Required* Sample rate in Hertz of the audio data sent in all
+ `RecognitionAudio` messages.
+ |
+
SpeechContext |
+getSpeechContexts(int index)
+
+ *Optional* A means to provide context to assist the speech recognition.
+ |
+
SpeechContext.Builder |
+getSpeechContextsBuilder(int index)
+
+ *Optional* A means to provide context to assist the speech recognition.
+ |
+
java.util.List<SpeechContext.Builder> |
+getSpeechContextsBuilderList()
+
+ *Optional* A means to provide context to assist the speech recognition.
+ |
+
int |
+getSpeechContextsCount()
+
+ *Optional* A means to provide context to assist the speech recognition.
+ |
+
java.util.List<SpeechContext> |
+getSpeechContextsList()
+
+ *Optional* A means to provide context to assist the speech recognition.
+ |
+
SpeechContextOrBuilder |
+getSpeechContextsOrBuilder(int index)
+
+ *Optional* A means to provide context to assist the speech recognition.
+ |
+
java.util.List<? extends SpeechContextOrBuilder> |
+getSpeechContextsOrBuilderList()
+
+ *Optional* A means to provide context to assist the speech recognition.
+ |
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
+internalGetFieldAccessorTable() |
+
boolean |
+isInitialized() |
+
RecognitionConfig.Builder |
+mergeFrom(com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
RecognitionConfig.Builder |
+mergeFrom(com.google.protobuf.Message other) |
+
RecognitionConfig.Builder |
+mergeFrom(RecognitionConfig other) |
+
RecognitionConfig.Builder |
+mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
+
RecognitionConfig.Builder |
+removeSpeechContexts(int index)
+
+ *Optional* A means to provide context to assist the speech recognition.
+ |
+
RecognitionConfig.Builder |
+setEnableWordTimeOffsets(boolean value)
+
+ *Optional* If `true`, the top result includes a list of words and
+ the start and end time offsets (timestamps) for those words.
+ |
+
RecognitionConfig.Builder |
+setEncoding(RecognitionConfig.AudioEncoding value)
+
+ *Required* Encoding of audio data sent in all `RecognitionAudio` messages.
+ |
+
RecognitionConfig.Builder |
+setEncodingValue(int value)
+
+ *Required* Encoding of audio data sent in all `RecognitionAudio` messages.
+ |
+
RecognitionConfig.Builder |
+setField(com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) |
+
RecognitionConfig.Builder |
+setLanguageCode(java.lang.String value)
+
+ *Required* The language of the supplied audio as a
+ [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
+ |
+
RecognitionConfig.Builder |
+setLanguageCodeBytes(com.google.protobuf.ByteString value)
+
+ *Required* The language of the supplied audio as a
+ [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
+ |
+
RecognitionConfig.Builder |
+setMaxAlternatives(int value)
+
+ *Optional* Maximum number of recognition hypotheses to be returned.
+ |
+
RecognitionConfig.Builder |
+setProfanityFilter(boolean value)
+
+ *Optional* If set to `true`, the server will attempt to filter out
+ profanities, replacing all but the initial character in each filtered word
+ with asterisks, e.g.
+ |
+
RecognitionConfig.Builder |
+setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
+ int index,
+ java.lang.Object value) |
+
RecognitionConfig.Builder |
+setSampleRateHertz(int value)
+
+ *Required* Sample rate in Hertz of the audio data sent in all
+ `RecognitionAudio` messages.
+ |
+
RecognitionConfig.Builder |
+setSpeechContexts(int index,
+ SpeechContext.Builder builderForValue)
+
+ *Optional* A means to provide context to assist the speech recognition.
+ |
+
RecognitionConfig.Builder |
+setSpeechContexts(int index,
+ SpeechContext value)
+
+ *Optional* A means to provide context to assist the speech recognition.
+ |
+
RecognitionConfig.Builder |
+setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
+
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()+
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RecognitionConfig.Builder>public RecognitionConfig.Builder clear()+
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RecognitionConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()+
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RecognitionConfig.Builder>public RecognitionConfig getDefaultInstanceForType()+
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RecognitionConfig build()+
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RecognitionConfig buildPartial()+
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RecognitionConfig.Builder clone()+
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RecognitionConfig.Builder>public RecognitionConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value)+
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<RecognitionConfig.Builder>public RecognitionConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)+
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RecognitionConfig.Builder>public RecognitionConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)+
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RecognitionConfig.Builder>public RecognitionConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value)+
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RecognitionConfig.Builder>public RecognitionConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value)+
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RecognitionConfig.Builder>public RecognitionConfig.Builder mergeFrom(com.google.protobuf.Message other)+
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RecognitionConfig.Builder>public RecognitionConfig.Builder mergeFrom(RecognitionConfig other)+
public final boolean isInitialized()+
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RecognitionConfig.Builder>public RecognitionConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RecognitionConfig.Builder>java.io.IOExceptionpublic int getEncodingValue()+
+ *Required* Encoding of audio data sent in all `RecognitionAudio` messages. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding encoding = 1;getEncodingValue in interface RecognitionConfigOrBuilderpublic RecognitionConfig.Builder setEncodingValue(int value)+
+ *Required* Encoding of audio data sent in all `RecognitionAudio` messages. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding encoding = 1;public RecognitionConfig.AudioEncoding getEncoding()+
+ *Required* Encoding of audio data sent in all `RecognitionAudio` messages. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding encoding = 1;getEncoding in interface RecognitionConfigOrBuilderpublic RecognitionConfig.Builder setEncoding(RecognitionConfig.AudioEncoding value)+
+ *Required* Encoding of audio data sent in all `RecognitionAudio` messages. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding encoding = 1;public RecognitionConfig.Builder clearEncoding()+
+ *Required* Encoding of audio data sent in all `RecognitionAudio` messages. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding encoding = 1;public int getSampleRateHertz()+
+ *Required* Sample rate in Hertz of the audio data sent in all + `RecognitionAudio` messages. Valid values are: 8000-48000. + 16000 is optimal. For best results, set the sampling rate of the audio + source to 16000 Hz. If that's not possible, use the native sample rate of + the audio source (instead of re-sampling). ++ +
int32 sample_rate_hertz = 2;getSampleRateHertz in interface RecognitionConfigOrBuilderpublic RecognitionConfig.Builder setSampleRateHertz(int value)+
+ *Required* Sample rate in Hertz of the audio data sent in all + `RecognitionAudio` messages. Valid values are: 8000-48000. + 16000 is optimal. For best results, set the sampling rate of the audio + source to 16000 Hz. If that's not possible, use the native sample rate of + the audio source (instead of re-sampling). ++ +
int32 sample_rate_hertz = 2;public RecognitionConfig.Builder clearSampleRateHertz()+
+ *Required* Sample rate in Hertz of the audio data sent in all + `RecognitionAudio` messages. Valid values are: 8000-48000. + 16000 is optimal. For best results, set the sampling rate of the audio + source to 16000 Hz. If that's not possible, use the native sample rate of + the audio source (instead of re-sampling). ++ +
int32 sample_rate_hertz = 2;public java.lang.String getLanguageCode()+
+ *Required* The language of the supplied audio as a + [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. + Example: "en-US". + See [Language Support](https://cloud.google.com/speech/docs/languages) + for a list of the currently supported language codes. ++ +
string language_code = 3;getLanguageCode in interface RecognitionConfigOrBuilderpublic com.google.protobuf.ByteString getLanguageCodeBytes()+
+ *Required* The language of the supplied audio as a + [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. + Example: "en-US". + See [Language Support](https://cloud.google.com/speech/docs/languages) + for a list of the currently supported language codes. ++ +
string language_code = 3;getLanguageCodeBytes in interface RecognitionConfigOrBuilderpublic RecognitionConfig.Builder setLanguageCode(java.lang.String value)+
+ *Required* The language of the supplied audio as a + [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. + Example: "en-US". + See [Language Support](https://cloud.google.com/speech/docs/languages) + for a list of the currently supported language codes. ++ +
string language_code = 3;public RecognitionConfig.Builder clearLanguageCode()+
+ *Required* The language of the supplied audio as a + [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. + Example: "en-US". + See [Language Support](https://cloud.google.com/speech/docs/languages) + for a list of the currently supported language codes. ++ +
string language_code = 3;public RecognitionConfig.Builder setLanguageCodeBytes(com.google.protobuf.ByteString value)+
+ *Required* The language of the supplied audio as a + [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. + Example: "en-US". + See [Language Support](https://cloud.google.com/speech/docs/languages) + for a list of the currently supported language codes. ++ +
string language_code = 3;public int getMaxAlternatives()+
+ *Optional* Maximum number of recognition hypotheses to be returned. + Specifically, the maximum number of `SpeechRecognitionAlternative` messages + within each `SpeechRecognitionResult`. + The server may return fewer than `max_alternatives`. + Valid values are `0`-`30`. A value of `0` or `1` will return a maximum of + one. If omitted, will return a maximum of one. ++ +
int32 max_alternatives = 4;getMaxAlternatives in interface RecognitionConfigOrBuilderpublic RecognitionConfig.Builder setMaxAlternatives(int value)+
+ *Optional* Maximum number of recognition hypotheses to be returned. + Specifically, the maximum number of `SpeechRecognitionAlternative` messages + within each `SpeechRecognitionResult`. + The server may return fewer than `max_alternatives`. + Valid values are `0`-`30`. A value of `0` or `1` will return a maximum of + one. If omitted, will return a maximum of one. ++ +
int32 max_alternatives = 4;public RecognitionConfig.Builder clearMaxAlternatives()+
+ *Optional* Maximum number of recognition hypotheses to be returned. + Specifically, the maximum number of `SpeechRecognitionAlternative` messages + within each `SpeechRecognitionResult`. + The server may return fewer than `max_alternatives`. + Valid values are `0`-`30`. A value of `0` or `1` will return a maximum of + one. If omitted, will return a maximum of one. ++ +
int32 max_alternatives = 4;public boolean getProfanityFilter()+
+ *Optional* If set to `true`, the server will attempt to filter out + profanities, replacing all but the initial character in each filtered word + with asterisks, e.g. "f***". If set to `false` or omitted, profanities + won't be filtered out. ++ +
bool profanity_filter = 5;getProfanityFilter in interface RecognitionConfigOrBuilderpublic RecognitionConfig.Builder setProfanityFilter(boolean value)+
+ *Optional* If set to `true`, the server will attempt to filter out + profanities, replacing all but the initial character in each filtered word + with asterisks, e.g. "f***". If set to `false` or omitted, profanities + won't be filtered out. ++ +
bool profanity_filter = 5;public RecognitionConfig.Builder clearProfanityFilter()+
+ *Optional* If set to `true`, the server will attempt to filter out + profanities, replacing all but the initial character in each filtered word + with asterisks, e.g. "f***". If set to `false` or omitted, profanities + won't be filtered out. ++ +
bool profanity_filter = 5;public java.util.List<SpeechContext> getSpeechContextsList()+
+ *Optional* A means to provide context to assist the speech recognition. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechContext speech_contexts = 6;getSpeechContextsList in interface RecognitionConfigOrBuilderpublic int getSpeechContextsCount()+
+ *Optional* A means to provide context to assist the speech recognition. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechContext speech_contexts = 6;getSpeechContextsCount in interface RecognitionConfigOrBuilderpublic SpeechContext getSpeechContexts(int index)+
+ *Optional* A means to provide context to assist the speech recognition. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechContext speech_contexts = 6;getSpeechContexts in interface RecognitionConfigOrBuilderpublic RecognitionConfig.Builder setSpeechContexts(int index, + SpeechContext value)+
+ *Optional* A means to provide context to assist the speech recognition. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechContext speech_contexts = 6;public RecognitionConfig.Builder setSpeechContexts(int index, + SpeechContext.Builder builderForValue)+
+ *Optional* A means to provide context to assist the speech recognition. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechContext speech_contexts = 6;public RecognitionConfig.Builder addSpeechContexts(SpeechContext value)+
+ *Optional* A means to provide context to assist the speech recognition. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechContext speech_contexts = 6;public RecognitionConfig.Builder addSpeechContexts(int index, + SpeechContext value)+
+ *Optional* A means to provide context to assist the speech recognition. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechContext speech_contexts = 6;public RecognitionConfig.Builder addSpeechContexts(SpeechContext.Builder builderForValue)+
+ *Optional* A means to provide context to assist the speech recognition. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechContext speech_contexts = 6;public RecognitionConfig.Builder addSpeechContexts(int index, + SpeechContext.Builder builderForValue)+
+ *Optional* A means to provide context to assist the speech recognition. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechContext speech_contexts = 6;public RecognitionConfig.Builder addAllSpeechContexts(java.lang.Iterable<? extends SpeechContext> values)+
+ *Optional* A means to provide context to assist the speech recognition. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechContext speech_contexts = 6;public RecognitionConfig.Builder clearSpeechContexts()+
+ *Optional* A means to provide context to assist the speech recognition. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechContext speech_contexts = 6;public RecognitionConfig.Builder removeSpeechContexts(int index)+
+ *Optional* A means to provide context to assist the speech recognition. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechContext speech_contexts = 6;public SpeechContext.Builder getSpeechContextsBuilder(int index)+
+ *Optional* A means to provide context to assist the speech recognition. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechContext speech_contexts = 6;public SpeechContextOrBuilder getSpeechContextsOrBuilder(int index)+
+ *Optional* A means to provide context to assist the speech recognition. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechContext speech_contexts = 6;getSpeechContextsOrBuilder in interface RecognitionConfigOrBuilderpublic java.util.List<? extends SpeechContextOrBuilder> getSpeechContextsOrBuilderList()+
+ *Optional* A means to provide context to assist the speech recognition. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechContext speech_contexts = 6;getSpeechContextsOrBuilderList in interface RecognitionConfigOrBuilderpublic SpeechContext.Builder addSpeechContextsBuilder()+
+ *Optional* A means to provide context to assist the speech recognition. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechContext speech_contexts = 6;public SpeechContext.Builder addSpeechContextsBuilder(int index)+
+ *Optional* A means to provide context to assist the speech recognition. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechContext speech_contexts = 6;public java.util.List<SpeechContext.Builder> getSpeechContextsBuilderList()+
+ *Optional* A means to provide context to assist the speech recognition. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechContext speech_contexts = 6;public boolean getEnableWordTimeOffsets()+
+ *Optional* If `true`, the top result includes a list of words and + the start and end time offsets (timestamps) for those words. If + `false`, no word-level time offset information is returned. The default is + `false`. ++ +
bool enable_word_time_offsets = 8;getEnableWordTimeOffsets in interface RecognitionConfigOrBuilderpublic RecognitionConfig.Builder setEnableWordTimeOffsets(boolean value)+
+ *Optional* If `true`, the top result includes a list of words and + the start and end time offsets (timestamps) for those words. If + `false`, no word-level time offset information is returned. The default is + `false`. ++ +
bool enable_word_time_offsets = 8;public RecognitionConfig.Builder clearEnableWordTimeOffsets()+
+ *Optional* If `true`, the top result includes a list of words and + the start and end time offsets (timestamps) for those words. If + `false`, no word-level time offset information is returned. The default is + `false`. ++ +
bool enable_word_time_offsets = 8;public final RecognitionConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)+
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RecognitionConfig.Builder>public final RecognitionConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)+
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RecognitionConfig.Builder>public final class RecognitionConfig +extends com.google.protobuf.GeneratedMessageV3 +implements RecognitionConfigOrBuilder+
+ Provides information to the recognizer that specifies how to process the + request. ++ + Protobuf type
google.cloud.speech.v1p1beta1.RecognitionConfig| Modifier and Type | +Class and Description | +
|---|---|
static class |
+RecognitionConfig.AudioEncoding
+
+ The encoding of the audio data sent in the request.
+ |
+
static class |
+RecognitionConfig.Builder
+
+ Provides information to the recognizer that specifies how to process the
+ request.
+ |
+
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | +Field and Description | +
|---|---|
static int |
+ENABLE_WORD_TIME_OFFSETS_FIELD_NUMBER |
+
static int |
+ENCODING_FIELD_NUMBER |
+
static int |
+LANGUAGE_CODE_FIELD_NUMBER |
+
static int |
+MAX_ALTERNATIVES_FIELD_NUMBER |
+
static int |
+PROFANITY_FILTER_FIELD_NUMBER |
+
static int |
+SAMPLE_RATE_HERTZ_FIELD_NUMBER |
+
static int |
+SPEECH_CONTEXTS_FIELD_NUMBER |
+
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | +Method and Description | +
|---|---|
boolean |
+equals(java.lang.Object obj) |
+
static RecognitionConfig |
+getDefaultInstance() |
+
RecognitionConfig |
+getDefaultInstanceForType() |
+
static com.google.protobuf.Descriptors.Descriptor |
+getDescriptor() |
+
boolean |
+getEnableWordTimeOffsets()
+
+ *Optional* If `true`, the top result includes a list of words and
+ the start and end time offsets (timestamps) for those words.
+ |
+
RecognitionConfig.AudioEncoding |
+getEncoding()
+
+ *Required* Encoding of audio data sent in all `RecognitionAudio` messages.
+ |
+
int |
+getEncodingValue()
+
+ *Required* Encoding of audio data sent in all `RecognitionAudio` messages.
+ |
+
java.lang.String |
+getLanguageCode()
+
+ *Required* The language of the supplied audio as a
+ [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
+ |
+
com.google.protobuf.ByteString |
+getLanguageCodeBytes()
+
+ *Required* The language of the supplied audio as a
+ [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
+ |
+
int |
+getMaxAlternatives()
+
+ *Optional* Maximum number of recognition hypotheses to be returned.
+ |
+
com.google.protobuf.Parser<RecognitionConfig> |
+getParserForType() |
+
boolean |
+getProfanityFilter()
+
+ *Optional* If set to `true`, the server will attempt to filter out
+ profanities, replacing all but the initial character in each filtered word
+ with asterisks, e.g.
+ |
+
int |
+getSampleRateHertz()
+
+ *Required* Sample rate in Hertz of the audio data sent in all
+ `RecognitionAudio` messages.
+ |
+
int |
+getSerializedSize() |
+
SpeechContext |
+getSpeechContexts(int index)
+
+ *Optional* A means to provide context to assist the speech recognition.
+ |
+
int |
+getSpeechContextsCount()
+
+ *Optional* A means to provide context to assist the speech recognition.
+ |
+
java.util.List<SpeechContext> |
+getSpeechContextsList()
+
+ *Optional* A means to provide context to assist the speech recognition.
+ |
+
SpeechContextOrBuilder |
+getSpeechContextsOrBuilder(int index)
+
+ *Optional* A means to provide context to assist the speech recognition.
+ |
+
java.util.List<? extends SpeechContextOrBuilder> |
+getSpeechContextsOrBuilderList()
+
+ *Optional* A means to provide context to assist the speech recognition.
+ |
+
com.google.protobuf.UnknownFieldSet |
+getUnknownFields() |
+
int |
+hashCode() |
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
+internalGetFieldAccessorTable() |
+
boolean |
+isInitialized() |
+
static RecognitionConfig.Builder |
+newBuilder() |
+
static RecognitionConfig.Builder |
+newBuilder(RecognitionConfig prototype) |
+
RecognitionConfig.Builder |
+newBuilderForType() |
+
protected RecognitionConfig.Builder |
+newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
+
static RecognitionConfig |
+parseDelimitedFrom(java.io.InputStream input) |
+
static RecognitionConfig |
+parseDelimitedFrom(java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static RecognitionConfig |
+parseFrom(byte[] data) |
+
static RecognitionConfig |
+parseFrom(byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static RecognitionConfig |
+parseFrom(java.nio.ByteBuffer data) |
+
static RecognitionConfig |
+parseFrom(java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static RecognitionConfig |
+parseFrom(com.google.protobuf.ByteString data) |
+
static RecognitionConfig |
+parseFrom(com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static RecognitionConfig |
+parseFrom(com.google.protobuf.CodedInputStream input) |
+
static RecognitionConfig |
+parseFrom(com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static RecognitionConfig |
+parseFrom(java.io.InputStream input) |
+
static RecognitionConfig |
+parseFrom(java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static com.google.protobuf.Parser<RecognitionConfig> |
+parser() |
+
RecognitionConfig.Builder |
+toBuilder() |
+
void |
+writeTo(com.google.protobuf.CodedOutputStream output) |
+
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int ENCODING_FIELD_NUMBER+
public static final int SAMPLE_RATE_HERTZ_FIELD_NUMBER+
public static final int LANGUAGE_CODE_FIELD_NUMBER+
public static final int MAX_ALTERNATIVES_FIELD_NUMBER+
public static final int PROFANITY_FILTER_FIELD_NUMBER+
public static final int SPEECH_CONTEXTS_FIELD_NUMBER+
public static final int ENABLE_WORD_TIME_OFFSETS_FIELD_NUMBER+
public final com.google.protobuf.UnknownFieldSet getUnknownFields()+
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()+
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getEncodingValue()+
+ *Required* Encoding of audio data sent in all `RecognitionAudio` messages. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding encoding = 1;getEncodingValue in interface RecognitionConfigOrBuilderpublic RecognitionConfig.AudioEncoding getEncoding()+
+ *Required* Encoding of audio data sent in all `RecognitionAudio` messages. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding encoding = 1;getEncoding in interface RecognitionConfigOrBuilderpublic int getSampleRateHertz()+
+ *Required* Sample rate in Hertz of the audio data sent in all + `RecognitionAudio` messages. Valid values are: 8000-48000. + 16000 is optimal. For best results, set the sampling rate of the audio + source to 16000 Hz. If that's not possible, use the native sample rate of + the audio source (instead of re-sampling). ++ +
int32 sample_rate_hertz = 2;getSampleRateHertz in interface RecognitionConfigOrBuilderpublic java.lang.String getLanguageCode()+
+ *Required* The language of the supplied audio as a + [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. + Example: "en-US". + See [Language Support](https://cloud.google.com/speech/docs/languages) + for a list of the currently supported language codes. ++ +
string language_code = 3;getLanguageCode in interface RecognitionConfigOrBuilderpublic com.google.protobuf.ByteString getLanguageCodeBytes()+
+ *Required* The language of the supplied audio as a + [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. + Example: "en-US". + See [Language Support](https://cloud.google.com/speech/docs/languages) + for a list of the currently supported language codes. ++ +
string language_code = 3;getLanguageCodeBytes in interface RecognitionConfigOrBuilderpublic int getMaxAlternatives()+
+ *Optional* Maximum number of recognition hypotheses to be returned. + Specifically, the maximum number of `SpeechRecognitionAlternative` messages + within each `SpeechRecognitionResult`. + The server may return fewer than `max_alternatives`. + Valid values are `0`-`30`. A value of `0` or `1` will return a maximum of + one. If omitted, will return a maximum of one. ++ +
int32 max_alternatives = 4;getMaxAlternatives in interface RecognitionConfigOrBuilderpublic boolean getProfanityFilter()+
+ *Optional* If set to `true`, the server will attempt to filter out + profanities, replacing all but the initial character in each filtered word + with asterisks, e.g. "f***". If set to `false` or omitted, profanities + won't be filtered out. ++ +
bool profanity_filter = 5;getProfanityFilter in interface RecognitionConfigOrBuilderpublic java.util.List<SpeechContext> getSpeechContextsList()+
+ *Optional* A means to provide context to assist the speech recognition. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechContext speech_contexts = 6;getSpeechContextsList in interface RecognitionConfigOrBuilderpublic java.util.List<? extends SpeechContextOrBuilder> getSpeechContextsOrBuilderList()+
+ *Optional* A means to provide context to assist the speech recognition. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechContext speech_contexts = 6;getSpeechContextsOrBuilderList in interface RecognitionConfigOrBuilderpublic int getSpeechContextsCount()+
+ *Optional* A means to provide context to assist the speech recognition. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechContext speech_contexts = 6;getSpeechContextsCount in interface RecognitionConfigOrBuilderpublic SpeechContext getSpeechContexts(int index)+
+ *Optional* A means to provide context to assist the speech recognition. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechContext speech_contexts = 6;getSpeechContexts in interface RecognitionConfigOrBuilderpublic SpeechContextOrBuilder getSpeechContextsOrBuilder(int index)+
+ *Optional* A means to provide context to assist the speech recognition. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechContext speech_contexts = 6;getSpeechContextsOrBuilder in interface RecognitionConfigOrBuilderpublic boolean getEnableWordTimeOffsets()+
+ *Optional* If `true`, the top result includes a list of words and + the start and end time offsets (timestamps) for those words. If + `false`, no word-level time offset information is returned. The default is + `false`. ++ +
bool enable_word_time_offsets = 8;getEnableWordTimeOffsets in interface RecognitionConfigOrBuilderpublic final boolean isInitialized()+
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException+
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()+
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)+
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()+
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static RecognitionConfig parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RecognitionConfig parseFrom(java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RecognitionConfig parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RecognitionConfig parseFrom(com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RecognitionConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RecognitionConfig parseFrom(byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RecognitionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException+
java.io.IOExceptionpublic static RecognitionConfig parseFrom(java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
java.io.IOExceptionpublic static RecognitionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException+
java.io.IOExceptionpublic static RecognitionConfig parseDelimitedFrom(java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
java.io.IOExceptionpublic static RecognitionConfig parseFrom(com.google.protobuf.CodedInputStream input) + throws java.io.IOException+
java.io.IOExceptionpublic static RecognitionConfig parseFrom(com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
java.io.IOExceptionpublic RecognitionConfig.Builder newBuilderForType()+
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RecognitionConfig.Builder newBuilder()+
public static RecognitionConfig.Builder newBuilder(RecognitionConfig prototype)+
public RecognitionConfig.Builder toBuilder()+
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RecognitionConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)+
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static RecognitionConfig getDefaultInstance()+
public static com.google.protobuf.Parser<RecognitionConfig> parser()+
public com.google.protobuf.Parser<RecognitionConfig> getParserForType()+
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RecognitionConfig getDefaultInstanceForType()+
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic interface RecognitionConfigOrBuilder
+extends com.google.protobuf.MessageOrBuilder
+| Modifier and Type | +Method and Description | +
|---|---|
boolean |
+getEnableWordTimeOffsets()
+
+ *Optional* If `true`, the top result includes a list of words and
+ the start and end time offsets (timestamps) for those words.
+ |
+
RecognitionConfig.AudioEncoding |
+getEncoding()
+
+ *Required* Encoding of audio data sent in all `RecognitionAudio` messages.
+ |
+
int |
+getEncodingValue()
+
+ *Required* Encoding of audio data sent in all `RecognitionAudio` messages.
+ |
+
java.lang.String |
+getLanguageCode()
+
+ *Required* The language of the supplied audio as a
+ [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
+ |
+
com.google.protobuf.ByteString |
+getLanguageCodeBytes()
+
+ *Required* The language of the supplied audio as a
+ [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
+ |
+
int |
+getMaxAlternatives()
+
+ *Optional* Maximum number of recognition hypotheses to be returned.
+ |
+
boolean |
+getProfanityFilter()
+
+ *Optional* If set to `true`, the server will attempt to filter out
+ profanities, replacing all but the initial character in each filtered word
+ with asterisks, e.g.
+ |
+
int |
+getSampleRateHertz()
+
+ *Required* Sample rate in Hertz of the audio data sent in all
+ `RecognitionAudio` messages.
+ |
+
SpeechContext |
+getSpeechContexts(int index)
+
+ *Optional* A means to provide context to assist the speech recognition.
+ |
+
int |
+getSpeechContextsCount()
+
+ *Optional* A means to provide context to assist the speech recognition.
+ |
+
java.util.List<SpeechContext> |
+getSpeechContextsList()
+
+ *Optional* A means to provide context to assist the speech recognition.
+ |
+
SpeechContextOrBuilder |
+getSpeechContextsOrBuilder(int index)
+
+ *Optional* A means to provide context to assist the speech recognition.
+ |
+
java.util.List<? extends SpeechContextOrBuilder> |
+getSpeechContextsOrBuilderList()
+
+ *Optional* A means to provide context to assist the speech recognition.
+ |
+
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofisInitializedint getEncodingValue()+
+ *Required* Encoding of audio data sent in all `RecognitionAudio` messages. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding encoding = 1;RecognitionConfig.AudioEncoding getEncoding()+
+ *Required* Encoding of audio data sent in all `RecognitionAudio` messages. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding encoding = 1;int getSampleRateHertz()+
+ *Required* Sample rate in Hertz of the audio data sent in all + `RecognitionAudio` messages. Valid values are: 8000-48000. + 16000 is optimal. For best results, set the sampling rate of the audio + source to 16000 Hz. If that's not possible, use the native sample rate of + the audio source (instead of re-sampling). ++ +
int32 sample_rate_hertz = 2;java.lang.String getLanguageCode()+
+ *Required* The language of the supplied audio as a + [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. + Example: "en-US". + See [Language Support](https://cloud.google.com/speech/docs/languages) + for a list of the currently supported language codes. ++ +
string language_code = 3;com.google.protobuf.ByteString getLanguageCodeBytes()+
+ *Required* The language of the supplied audio as a + [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. + Example: "en-US". + See [Language Support](https://cloud.google.com/speech/docs/languages) + for a list of the currently supported language codes. ++ +
string language_code = 3;int getMaxAlternatives()+
+ *Optional* Maximum number of recognition hypotheses to be returned. + Specifically, the maximum number of `SpeechRecognitionAlternative` messages + within each `SpeechRecognitionResult`. + The server may return fewer than `max_alternatives`. + Valid values are `0`-`30`. A value of `0` or `1` will return a maximum of + one. If omitted, will return a maximum of one. ++ +
int32 max_alternatives = 4;boolean getProfanityFilter()+
+ *Optional* If set to `true`, the server will attempt to filter out + profanities, replacing all but the initial character in each filtered word + with asterisks, e.g. "f***". If set to `false` or omitted, profanities + won't be filtered out. ++ +
bool profanity_filter = 5;java.util.List<SpeechContext> getSpeechContextsList()+
+ *Optional* A means to provide context to assist the speech recognition. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechContext speech_contexts = 6;SpeechContext getSpeechContexts(int index)+
+ *Optional* A means to provide context to assist the speech recognition. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechContext speech_contexts = 6;int getSpeechContextsCount()+
+ *Optional* A means to provide context to assist the speech recognition. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechContext speech_contexts = 6;java.util.List<? extends SpeechContextOrBuilder> getSpeechContextsOrBuilderList()+
+ *Optional* A means to provide context to assist the speech recognition. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechContext speech_contexts = 6;SpeechContextOrBuilder getSpeechContextsOrBuilder(int index)+
+ *Optional* A means to provide context to assist the speech recognition. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechContext speech_contexts = 6;boolean getEnableWordTimeOffsets()+
+ *Optional* If `true`, the top result includes a list of words and + the start and end time offsets (timestamps) for those words. If + `false`, no word-level time offset information is returned. The default is + `false`. ++ +
bool enable_word_time_offsets = 8;public static final class RecognizeRequest.Builder +extends com.google.protobuf.GeneratedMessageV3.Builder<RecognizeRequest.Builder> +implements RecognizeRequestOrBuilder+
+ The top-level message sent by the client for the `Recognize` method. ++ + Protobuf type
google.cloud.speech.v1p1beta1.RecognizeRequest| Modifier and Type | +Method and Description | +
|---|---|
RecognizeRequest.Builder |
+addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) |
+
RecognizeRequest |
+build() |
+
RecognizeRequest |
+buildPartial() |
+
RecognizeRequest.Builder |
+clear() |
+
RecognizeRequest.Builder |
+clearAudio()
+
+ *Required* The audio data to be recognized.
+ |
+
RecognizeRequest.Builder |
+clearConfig()
+
+ *Required* Provides information to the recognizer that specifies how to
+ process the request.
+ |
+
RecognizeRequest.Builder |
+clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
+
RecognizeRequest.Builder |
+clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
+
RecognizeRequest.Builder |
+clone() |
+
RecognitionAudio |
+getAudio()
+
+ *Required* The audio data to be recognized.
+ |
+
RecognitionAudio.Builder |
+getAudioBuilder()
+
+ *Required* The audio data to be recognized.
+ |
+
RecognitionAudioOrBuilder |
+getAudioOrBuilder()
+
+ *Required* The audio data to be recognized.
+ |
+
RecognitionConfig |
+getConfig()
+
+ *Required* Provides information to the recognizer that specifies how to
+ process the request.
+ |
+
RecognitionConfig.Builder |
+getConfigBuilder()
+
+ *Required* Provides information to the recognizer that specifies how to
+ process the request.
+ |
+
RecognitionConfigOrBuilder |
+getConfigOrBuilder()
+
+ *Required* Provides information to the recognizer that specifies how to
+ process the request.
+ |
+
RecognizeRequest |
+getDefaultInstanceForType() |
+
static com.google.protobuf.Descriptors.Descriptor |
+getDescriptor() |
+
com.google.protobuf.Descriptors.Descriptor |
+getDescriptorForType() |
+
boolean |
+hasAudio()
+
+ *Required* The audio data to be recognized.
+ |
+
boolean |
+hasConfig()
+
+ *Required* Provides information to the recognizer that specifies how to
+ process the request.
+ |
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
+internalGetFieldAccessorTable() |
+
boolean |
+isInitialized() |
+
RecognizeRequest.Builder |
+mergeAudio(RecognitionAudio value)
+
+ *Required* The audio data to be recognized.
+ |
+
RecognizeRequest.Builder |
+mergeConfig(RecognitionConfig value)
+
+ *Required* Provides information to the recognizer that specifies how to
+ process the request.
+ |
+
RecognizeRequest.Builder |
+mergeFrom(com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
RecognizeRequest.Builder |
+mergeFrom(com.google.protobuf.Message other) |
+
RecognizeRequest.Builder |
+mergeFrom(RecognizeRequest other) |
+
RecognizeRequest.Builder |
+mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
+
RecognizeRequest.Builder |
+setAudio(RecognitionAudio.Builder builderForValue)
+
+ *Required* The audio data to be recognized.
+ |
+
RecognizeRequest.Builder |
+setAudio(RecognitionAudio value)
+
+ *Required* The audio data to be recognized.
+ |
+
RecognizeRequest.Builder |
+setConfig(RecognitionConfig.Builder builderForValue)
+
+ *Required* Provides information to the recognizer that specifies how to
+ process the request.
+ |
+
RecognizeRequest.Builder |
+setConfig(RecognitionConfig value)
+
+ *Required* Provides information to the recognizer that specifies how to
+ process the request.
+ |
+
RecognizeRequest.Builder |
+setField(com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) |
+
RecognizeRequest.Builder |
+setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
+ int index,
+ java.lang.Object value) |
+
RecognizeRequest.Builder |
+setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
+
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()+
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RecognizeRequest.Builder>public RecognizeRequest.Builder clear()+
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RecognizeRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()+
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RecognizeRequest.Builder>public RecognizeRequest getDefaultInstanceForType()+
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RecognizeRequest build()+
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RecognizeRequest buildPartial()+
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RecognizeRequest.Builder clone()+
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RecognizeRequest.Builder>public RecognizeRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value)+
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<RecognizeRequest.Builder>public RecognizeRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)+
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RecognizeRequest.Builder>public RecognizeRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)+
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RecognizeRequest.Builder>public RecognizeRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value)+
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RecognizeRequest.Builder>public RecognizeRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value)+
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RecognizeRequest.Builder>public RecognizeRequest.Builder mergeFrom(com.google.protobuf.Message other)+
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RecognizeRequest.Builder>public RecognizeRequest.Builder mergeFrom(RecognizeRequest other)+
public final boolean isInitialized()+
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RecognizeRequest.Builder>public RecognizeRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RecognizeRequest.Builder>java.io.IOExceptionpublic boolean hasConfig()+
+ *Required* Provides information to the recognizer that specifies how to + process the request. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig config = 1;hasConfig in interface RecognizeRequestOrBuilderpublic RecognitionConfig getConfig()+
+ *Required* Provides information to the recognizer that specifies how to + process the request. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig config = 1;getConfig in interface RecognizeRequestOrBuilderpublic RecognizeRequest.Builder setConfig(RecognitionConfig value)+
+ *Required* Provides information to the recognizer that specifies how to + process the request. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig config = 1;public RecognizeRequest.Builder setConfig(RecognitionConfig.Builder builderForValue)+
+ *Required* Provides information to the recognizer that specifies how to + process the request. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig config = 1;public RecognizeRequest.Builder mergeConfig(RecognitionConfig value)+
+ *Required* Provides information to the recognizer that specifies how to + process the request. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig config = 1;public RecognizeRequest.Builder clearConfig()+
+ *Required* Provides information to the recognizer that specifies how to + process the request. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig config = 1;public RecognitionConfig.Builder getConfigBuilder()+
+ *Required* Provides information to the recognizer that specifies how to + process the request. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig config = 1;public RecognitionConfigOrBuilder getConfigOrBuilder()+
+ *Required* Provides information to the recognizer that specifies how to + process the request. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig config = 1;getConfigOrBuilder in interface RecognizeRequestOrBuilderpublic boolean hasAudio()+
+ *Required* The audio data to be recognized. ++ +
.google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2;hasAudio in interface RecognizeRequestOrBuilderpublic RecognitionAudio getAudio()+
+ *Required* The audio data to be recognized. ++ +
.google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2;getAudio in interface RecognizeRequestOrBuilderpublic RecognizeRequest.Builder setAudio(RecognitionAudio value)+
+ *Required* The audio data to be recognized. ++ +
.google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2;public RecognizeRequest.Builder setAudio(RecognitionAudio.Builder builderForValue)+
+ *Required* The audio data to be recognized. ++ +
.google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2;public RecognizeRequest.Builder mergeAudio(RecognitionAudio value)+
+ *Required* The audio data to be recognized. ++ +
.google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2;public RecognizeRequest.Builder clearAudio()+
+ *Required* The audio data to be recognized. ++ +
.google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2;public RecognitionAudio.Builder getAudioBuilder()+
+ *Required* The audio data to be recognized. ++ +
.google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2;public RecognitionAudioOrBuilder getAudioOrBuilder()+
+ *Required* The audio data to be recognized. ++ +
.google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2;getAudioOrBuilder in interface RecognizeRequestOrBuilderpublic final RecognizeRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)+
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RecognizeRequest.Builder>public final RecognizeRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)+
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RecognizeRequest.Builder>public final class RecognizeRequest +extends com.google.protobuf.GeneratedMessageV3 +implements RecognizeRequestOrBuilder+
+ The top-level message sent by the client for the `Recognize` method. ++ + Protobuf type
google.cloud.speech.v1p1beta1.RecognizeRequest| Modifier and Type | +Class and Description | +
|---|---|
static class |
+RecognizeRequest.Builder
+
+ The top-level message sent by the client for the `Recognize` method.
+ |
+
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | +Field and Description | +
|---|---|
static int |
+AUDIO_FIELD_NUMBER |
+
static int |
+CONFIG_FIELD_NUMBER |
+
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | +Method and Description | +
|---|---|
boolean |
+equals(java.lang.Object obj) |
+
RecognitionAudio |
+getAudio()
+
+ *Required* The audio data to be recognized.
+ |
+
RecognitionAudioOrBuilder |
+getAudioOrBuilder()
+
+ *Required* The audio data to be recognized.
+ |
+
RecognitionConfig |
+getConfig()
+
+ *Required* Provides information to the recognizer that specifies how to
+ process the request.
+ |
+
RecognitionConfigOrBuilder |
+getConfigOrBuilder()
+
+ *Required* Provides information to the recognizer that specifies how to
+ process the request.
+ |
+
static RecognizeRequest |
+getDefaultInstance() |
+
RecognizeRequest |
+getDefaultInstanceForType() |
+
static com.google.protobuf.Descriptors.Descriptor |
+getDescriptor() |
+
com.google.protobuf.Parser<RecognizeRequest> |
+getParserForType() |
+
int |
+getSerializedSize() |
+
com.google.protobuf.UnknownFieldSet |
+getUnknownFields() |
+
boolean |
+hasAudio()
+
+ *Required* The audio data to be recognized.
+ |
+
boolean |
+hasConfig()
+
+ *Required* Provides information to the recognizer that specifies how to
+ process the request.
+ |
+
int |
+hashCode() |
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
+internalGetFieldAccessorTable() |
+
boolean |
+isInitialized() |
+
static RecognizeRequest.Builder |
+newBuilder() |
+
static RecognizeRequest.Builder |
+newBuilder(RecognizeRequest prototype) |
+
RecognizeRequest.Builder |
+newBuilderForType() |
+
protected RecognizeRequest.Builder |
+newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
+
static RecognizeRequest |
+parseDelimitedFrom(java.io.InputStream input) |
+
static RecognizeRequest |
+parseDelimitedFrom(java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static RecognizeRequest |
+parseFrom(byte[] data) |
+
static RecognizeRequest |
+parseFrom(byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static RecognizeRequest |
+parseFrom(java.nio.ByteBuffer data) |
+
static RecognizeRequest |
+parseFrom(java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static RecognizeRequest |
+parseFrom(com.google.protobuf.ByteString data) |
+
static RecognizeRequest |
+parseFrom(com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static RecognizeRequest |
+parseFrom(com.google.protobuf.CodedInputStream input) |
+
static RecognizeRequest |
+parseFrom(com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static RecognizeRequest |
+parseFrom(java.io.InputStream input) |
+
static RecognizeRequest |
+parseFrom(java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static com.google.protobuf.Parser<RecognizeRequest> |
+parser() |
+
RecognizeRequest.Builder |
+toBuilder() |
+
void |
+writeTo(com.google.protobuf.CodedOutputStream output) |
+
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int CONFIG_FIELD_NUMBER+
public static final int AUDIO_FIELD_NUMBER+
public final com.google.protobuf.UnknownFieldSet getUnknownFields()+
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()+
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasConfig()+
+ *Required* Provides information to the recognizer that specifies how to + process the request. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig config = 1;hasConfig in interface RecognizeRequestOrBuilderpublic RecognitionConfig getConfig()+
+ *Required* Provides information to the recognizer that specifies how to + process the request. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig config = 1;getConfig in interface RecognizeRequestOrBuilderpublic RecognitionConfigOrBuilder getConfigOrBuilder()+
+ *Required* Provides information to the recognizer that specifies how to + process the request. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig config = 1;getConfigOrBuilder in interface RecognizeRequestOrBuilderpublic boolean hasAudio()+
+ *Required* The audio data to be recognized. ++ +
.google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2;hasAudio in interface RecognizeRequestOrBuilderpublic RecognitionAudio getAudio()+
+ *Required* The audio data to be recognized. ++ +
.google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2;getAudio in interface RecognizeRequestOrBuilderpublic RecognitionAudioOrBuilder getAudioOrBuilder()+
+ *Required* The audio data to be recognized. ++ +
.google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2;getAudioOrBuilder in interface RecognizeRequestOrBuilderpublic final boolean isInitialized()+
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException+
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()+
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)+
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()+
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static RecognizeRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RecognizeRequest parseFrom(java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RecognizeRequest parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RecognizeRequest parseFrom(com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RecognizeRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RecognizeRequest parseFrom(byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RecognizeRequest parseFrom(java.io.InputStream input) + throws java.io.IOException+
java.io.IOExceptionpublic static RecognizeRequest parseFrom(java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
java.io.IOExceptionpublic static RecognizeRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException+
java.io.IOExceptionpublic static RecognizeRequest parseDelimitedFrom(java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
java.io.IOExceptionpublic static RecognizeRequest parseFrom(com.google.protobuf.CodedInputStream input) + throws java.io.IOException+
java.io.IOExceptionpublic static RecognizeRequest parseFrom(com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
java.io.IOExceptionpublic RecognizeRequest.Builder newBuilderForType()+
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RecognizeRequest.Builder newBuilder()+
public static RecognizeRequest.Builder newBuilder(RecognizeRequest prototype)+
public RecognizeRequest.Builder toBuilder()+
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RecognizeRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)+
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static RecognizeRequest getDefaultInstance()+
public static com.google.protobuf.Parser<RecognizeRequest> parser()+
public com.google.protobuf.Parser<RecognizeRequest> getParserForType()+
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RecognizeRequest getDefaultInstanceForType()+
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic interface RecognizeRequestOrBuilder
+extends com.google.protobuf.MessageOrBuilder
+| Modifier and Type | +Method and Description | +
|---|---|
RecognitionAudio |
+getAudio()
+
+ *Required* The audio data to be recognized.
+ |
+
RecognitionAudioOrBuilder |
+getAudioOrBuilder()
+
+ *Required* The audio data to be recognized.
+ |
+
RecognitionConfig |
+getConfig()
+
+ *Required* Provides information to the recognizer that specifies how to
+ process the request.
+ |
+
RecognitionConfigOrBuilder |
+getConfigOrBuilder()
+
+ *Required* Provides information to the recognizer that specifies how to
+ process the request.
+ |
+
boolean |
+hasAudio()
+
+ *Required* The audio data to be recognized.
+ |
+
boolean |
+hasConfig()
+
+ *Required* Provides information to the recognizer that specifies how to
+ process the request.
+ |
+
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofisInitializedboolean hasConfig()+
+ *Required* Provides information to the recognizer that specifies how to + process the request. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig config = 1;RecognitionConfig getConfig()+
+ *Required* Provides information to the recognizer that specifies how to + process the request. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig config = 1;RecognitionConfigOrBuilder getConfigOrBuilder()+
+ *Required* Provides information to the recognizer that specifies how to + process the request. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig config = 1;boolean hasAudio()+
+ *Required* The audio data to be recognized. ++ +
.google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2;RecognitionAudio getAudio()+
+ *Required* The audio data to be recognized. ++ +
.google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2;RecognitionAudioOrBuilder getAudioOrBuilder()+
+ *Required* The audio data to be recognized. ++ +
.google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2;public static final class RecognizeResponse.Builder +extends com.google.protobuf.GeneratedMessageV3.Builder<RecognizeResponse.Builder> +implements RecognizeResponseOrBuilder+
+ The only message returned to the client by the `Recognize` method. It + contains the result as zero or more sequential `SpeechRecognitionResult` + messages. ++ + Protobuf type
google.cloud.speech.v1p1beta1.RecognizeResponse| Modifier and Type | +Method and Description | +
|---|---|
RecognizeResponse.Builder |
+addAllResults(java.lang.Iterable<? extends SpeechRecognitionResult> values)
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
RecognizeResponse.Builder |
+addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) |
+
RecognizeResponse.Builder |
+addResults(int index,
+ SpeechRecognitionResult.Builder builderForValue)
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
RecognizeResponse.Builder |
+addResults(int index,
+ SpeechRecognitionResult value)
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
RecognizeResponse.Builder |
+addResults(SpeechRecognitionResult.Builder builderForValue)
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
RecognizeResponse.Builder |
+addResults(SpeechRecognitionResult value)
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
SpeechRecognitionResult.Builder |
+addResultsBuilder()
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
SpeechRecognitionResult.Builder |
+addResultsBuilder(int index)
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
RecognizeResponse |
+build() |
+
RecognizeResponse |
+buildPartial() |
+
RecognizeResponse.Builder |
+clear() |
+
RecognizeResponse.Builder |
+clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
+
RecognizeResponse.Builder |
+clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
+
RecognizeResponse.Builder |
+clearResults()
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
RecognizeResponse.Builder |
+clone() |
+
RecognizeResponse |
+getDefaultInstanceForType() |
+
static com.google.protobuf.Descriptors.Descriptor |
+getDescriptor() |
+
com.google.protobuf.Descriptors.Descriptor |
+getDescriptorForType() |
+
SpeechRecognitionResult |
+getResults(int index)
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
SpeechRecognitionResult.Builder |
+getResultsBuilder(int index)
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
java.util.List<SpeechRecognitionResult.Builder> |
+getResultsBuilderList()
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
int |
+getResultsCount()
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
java.util.List<SpeechRecognitionResult> |
+getResultsList()
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
SpeechRecognitionResultOrBuilder |
+getResultsOrBuilder(int index)
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
java.util.List<? extends SpeechRecognitionResultOrBuilder> |
+getResultsOrBuilderList()
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
+internalGetFieldAccessorTable() |
+
boolean |
+isInitialized() |
+
RecognizeResponse.Builder |
+mergeFrom(com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
RecognizeResponse.Builder |
+mergeFrom(com.google.protobuf.Message other) |
+
RecognizeResponse.Builder |
+mergeFrom(RecognizeResponse other) |
+
RecognizeResponse.Builder |
+mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
+
RecognizeResponse.Builder |
+removeResults(int index)
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
RecognizeResponse.Builder |
+setField(com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) |
+
RecognizeResponse.Builder |
+setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
+ int index,
+ java.lang.Object value) |
+
RecognizeResponse.Builder |
+setResults(int index,
+ SpeechRecognitionResult.Builder builderForValue)
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
RecognizeResponse.Builder |
+setResults(int index,
+ SpeechRecognitionResult value)
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
RecognizeResponse.Builder |
+setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
+
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()+
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RecognizeResponse.Builder>public RecognizeResponse.Builder clear()+
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RecognizeResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()+
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RecognizeResponse.Builder>public RecognizeResponse getDefaultInstanceForType()+
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RecognizeResponse build()+
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RecognizeResponse buildPartial()+
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RecognizeResponse.Builder clone()+
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RecognizeResponse.Builder>public RecognizeResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value)+
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<RecognizeResponse.Builder>public RecognizeResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)+
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RecognizeResponse.Builder>public RecognizeResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)+
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RecognizeResponse.Builder>public RecognizeResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value)+
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RecognizeResponse.Builder>public RecognizeResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value)+
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RecognizeResponse.Builder>public RecognizeResponse.Builder mergeFrom(com.google.protobuf.Message other)+
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RecognizeResponse.Builder>public RecognizeResponse.Builder mergeFrom(RecognizeResponse other)+
public final boolean isInitialized()+
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RecognizeResponse.Builder>public RecognizeResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RecognizeResponse.Builder>java.io.IOExceptionpublic java.util.List<SpeechRecognitionResult> getResultsList()+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;getResultsList in interface RecognizeResponseOrBuilderpublic int getResultsCount()+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;getResultsCount in interface RecognizeResponseOrBuilderpublic SpeechRecognitionResult getResults(int index)+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;getResults in interface RecognizeResponseOrBuilderpublic RecognizeResponse.Builder setResults(int index, + SpeechRecognitionResult value)+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;public RecognizeResponse.Builder setResults(int index, + SpeechRecognitionResult.Builder builderForValue)+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;public RecognizeResponse.Builder addResults(SpeechRecognitionResult value)+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;public RecognizeResponse.Builder addResults(int index, + SpeechRecognitionResult value)+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;public RecognizeResponse.Builder addResults(SpeechRecognitionResult.Builder builderForValue)+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;public RecognizeResponse.Builder addResults(int index, + SpeechRecognitionResult.Builder builderForValue)+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;public RecognizeResponse.Builder addAllResults(java.lang.Iterable<? extends SpeechRecognitionResult> values)+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;public RecognizeResponse.Builder clearResults()+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;public RecognizeResponse.Builder removeResults(int index)+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;public SpeechRecognitionResult.Builder getResultsBuilder(int index)+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;public SpeechRecognitionResultOrBuilder getResultsOrBuilder(int index)+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;getResultsOrBuilder in interface RecognizeResponseOrBuilderpublic java.util.List<? extends SpeechRecognitionResultOrBuilder> getResultsOrBuilderList()+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;getResultsOrBuilderList in interface RecognizeResponseOrBuilderpublic SpeechRecognitionResult.Builder addResultsBuilder()+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;public SpeechRecognitionResult.Builder addResultsBuilder(int index)+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;public java.util.List<SpeechRecognitionResult.Builder> getResultsBuilderList()+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;public final RecognizeResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)+
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RecognizeResponse.Builder>public final RecognizeResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)+
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RecognizeResponse.Builder>public final class RecognizeResponse +extends com.google.protobuf.GeneratedMessageV3 +implements RecognizeResponseOrBuilder+
+ The only message returned to the client by the `Recognize` method. It + contains the result as zero or more sequential `SpeechRecognitionResult` + messages. ++ + Protobuf type
google.cloud.speech.v1p1beta1.RecognizeResponse| Modifier and Type | +Class and Description | +
|---|---|
static class |
+RecognizeResponse.Builder
+
+ The only message returned to the client by the `Recognize` method.
+ |
+
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | +Field and Description | +
|---|---|
static int |
+RESULTS_FIELD_NUMBER |
+
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | +Method and Description | +
|---|---|
boolean |
+equals(java.lang.Object obj) |
+
static RecognizeResponse |
+getDefaultInstance() |
+
RecognizeResponse |
+getDefaultInstanceForType() |
+
static com.google.protobuf.Descriptors.Descriptor |
+getDescriptor() |
+
com.google.protobuf.Parser<RecognizeResponse> |
+getParserForType() |
+
SpeechRecognitionResult |
+getResults(int index)
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
int |
+getResultsCount()
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
java.util.List<SpeechRecognitionResult> |
+getResultsList()
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
SpeechRecognitionResultOrBuilder |
+getResultsOrBuilder(int index)
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
java.util.List<? extends SpeechRecognitionResultOrBuilder> |
+getResultsOrBuilderList()
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
int |
+getSerializedSize() |
+
com.google.protobuf.UnknownFieldSet |
+getUnknownFields() |
+
int |
+hashCode() |
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
+internalGetFieldAccessorTable() |
+
boolean |
+isInitialized() |
+
static RecognizeResponse.Builder |
+newBuilder() |
+
static RecognizeResponse.Builder |
+newBuilder(RecognizeResponse prototype) |
+
RecognizeResponse.Builder |
+newBuilderForType() |
+
protected RecognizeResponse.Builder |
+newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
+
static RecognizeResponse |
+parseDelimitedFrom(java.io.InputStream input) |
+
static RecognizeResponse |
+parseDelimitedFrom(java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static RecognizeResponse |
+parseFrom(byte[] data) |
+
static RecognizeResponse |
+parseFrom(byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static RecognizeResponse |
+parseFrom(java.nio.ByteBuffer data) |
+
static RecognizeResponse |
+parseFrom(java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static RecognizeResponse |
+parseFrom(com.google.protobuf.ByteString data) |
+
static RecognizeResponse |
+parseFrom(com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static RecognizeResponse |
+parseFrom(com.google.protobuf.CodedInputStream input) |
+
static RecognizeResponse |
+parseFrom(com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static RecognizeResponse |
+parseFrom(java.io.InputStream input) |
+
static RecognizeResponse |
+parseFrom(java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static com.google.protobuf.Parser<RecognizeResponse> |
+parser() |
+
RecognizeResponse.Builder |
+toBuilder() |
+
void |
+writeTo(com.google.protobuf.CodedOutputStream output) |
+
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int RESULTS_FIELD_NUMBER+
public final com.google.protobuf.UnknownFieldSet getUnknownFields()+
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()+
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public java.util.List<SpeechRecognitionResult> getResultsList()+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;getResultsList in interface RecognizeResponseOrBuilderpublic java.util.List<? extends SpeechRecognitionResultOrBuilder> getResultsOrBuilderList()+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;getResultsOrBuilderList in interface RecognizeResponseOrBuilderpublic int getResultsCount()+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;getResultsCount in interface RecognizeResponseOrBuilderpublic SpeechRecognitionResult getResults(int index)+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;getResults in interface RecognizeResponseOrBuilderpublic SpeechRecognitionResultOrBuilder getResultsOrBuilder(int index)+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;getResultsOrBuilder in interface RecognizeResponseOrBuilderpublic final boolean isInitialized()+
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException+
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()+
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)+
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()+
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static RecognizeResponse parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RecognizeResponse parseFrom(java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RecognizeResponse parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RecognizeResponse parseFrom(com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RecognizeResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RecognizeResponse parseFrom(byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RecognizeResponse parseFrom(java.io.InputStream input) + throws java.io.IOException+
java.io.IOExceptionpublic static RecognizeResponse parseFrom(java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
java.io.IOExceptionpublic static RecognizeResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException+
java.io.IOExceptionpublic static RecognizeResponse parseDelimitedFrom(java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
java.io.IOExceptionpublic static RecognizeResponse parseFrom(com.google.protobuf.CodedInputStream input) + throws java.io.IOException+
java.io.IOExceptionpublic static RecognizeResponse parseFrom(com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
java.io.IOExceptionpublic RecognizeResponse.Builder newBuilderForType()+
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RecognizeResponse.Builder newBuilder()+
public static RecognizeResponse.Builder newBuilder(RecognizeResponse prototype)+
public RecognizeResponse.Builder toBuilder()+
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RecognizeResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)+
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static RecognizeResponse getDefaultInstance()+
public static com.google.protobuf.Parser<RecognizeResponse> parser()+
public com.google.protobuf.Parser<RecognizeResponse> getParserForType()+
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RecognizeResponse getDefaultInstanceForType()+
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic interface RecognizeResponseOrBuilder
+extends com.google.protobuf.MessageOrBuilder
+| Modifier and Type | +Method and Description | +
|---|---|
SpeechRecognitionResult |
+getResults(int index)
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
int |
+getResultsCount()
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
java.util.List<SpeechRecognitionResult> |
+getResultsList()
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
SpeechRecognitionResultOrBuilder |
+getResultsOrBuilder(int index)
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
java.util.List<? extends SpeechRecognitionResultOrBuilder> |
+getResultsOrBuilderList()
+
+ *Output-only* Sequential list of transcription results corresponding to
+ sequential portions of audio.
+ |
+
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofisInitializedjava.util.List<SpeechRecognitionResult> getResultsList()+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;SpeechRecognitionResult getResults(int index)+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;int getResultsCount()+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;java.util.List<? extends SpeechRecognitionResultOrBuilder> getResultsOrBuilderList()+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;SpeechRecognitionResultOrBuilder getResultsOrBuilder(int index)+
+ *Output-only* Sequential list of transcription results corresponding to + sequential portions of audio. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;public static final class SpeechContext.Builder +extends com.google.protobuf.GeneratedMessageV3.Builder<SpeechContext.Builder> +implements SpeechContextOrBuilder+
+ Provides "hints" to the speech recognizer to favor specific words and phrases + in the results. ++ + Protobuf type
google.cloud.speech.v1p1beta1.SpeechContext| Modifier and Type | +Method and Description | +
|---|---|
SpeechContext.Builder |
+addAllPhrases(java.lang.Iterable<java.lang.String> values)
+
+ *Optional* A list of strings containing words and phrases "hints" so that
+ the speech recognition is more likely to recognize them.
+ |
+
SpeechContext.Builder |
+addPhrases(java.lang.String value)
+
+ *Optional* A list of strings containing words and phrases "hints" so that
+ the speech recognition is more likely to recognize them.
+ |
+
SpeechContext.Builder |
+addPhrasesBytes(com.google.protobuf.ByteString value)
+
+ *Optional* A list of strings containing words and phrases "hints" so that
+ the speech recognition is more likely to recognize them.
+ |
+
SpeechContext.Builder |
+addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) |
+
SpeechContext |
+build() |
+
SpeechContext |
+buildPartial() |
+
SpeechContext.Builder |
+clear() |
+
SpeechContext.Builder |
+clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
+
SpeechContext.Builder |
+clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
+
SpeechContext.Builder |
+clearPhrases()
+
+ *Optional* A list of strings containing words and phrases "hints" so that
+ the speech recognition is more likely to recognize them.
+ |
+
SpeechContext.Builder |
+clone() |
+
SpeechContext |
+getDefaultInstanceForType() |
+
static com.google.protobuf.Descriptors.Descriptor |
+getDescriptor() |
+
com.google.protobuf.Descriptors.Descriptor |
+getDescriptorForType() |
+
java.lang.String |
+getPhrases(int index)
+
+ *Optional* A list of strings containing words and phrases "hints" so that
+ the speech recognition is more likely to recognize them.
+ |
+
com.google.protobuf.ByteString |
+getPhrasesBytes(int index)
+
+ *Optional* A list of strings containing words and phrases "hints" so that
+ the speech recognition is more likely to recognize them.
+ |
+
int |
+getPhrasesCount()
+
+ *Optional* A list of strings containing words and phrases "hints" so that
+ the speech recognition is more likely to recognize them.
+ |
+
com.google.protobuf.ProtocolStringList |
+getPhrasesList()
+
+ *Optional* A list of strings containing words and phrases "hints" so that
+ the speech recognition is more likely to recognize them.
+ |
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
+internalGetFieldAccessorTable() |
+
boolean |
+isInitialized() |
+
SpeechContext.Builder |
+mergeFrom(com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
SpeechContext.Builder |
+mergeFrom(com.google.protobuf.Message other) |
+
SpeechContext.Builder |
+mergeFrom(SpeechContext other) |
+
SpeechContext.Builder |
+mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
+
SpeechContext.Builder |
+setField(com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) |
+
SpeechContext.Builder |
+setPhrases(int index,
+ java.lang.String value)
+
+ *Optional* A list of strings containing words and phrases "hints" so that
+ the speech recognition is more likely to recognize them.
+ |
+
SpeechContext.Builder |
+setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
+ int index,
+ java.lang.Object value) |
+
SpeechContext.Builder |
+setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
+
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()+
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechContext.Builder>public SpeechContext.Builder clear()+
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechContext.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()+
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechContext.Builder>public SpeechContext getDefaultInstanceForType()+
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SpeechContext build()+
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SpeechContext buildPartial()+
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SpeechContext.Builder clone()+
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechContext.Builder>public SpeechContext.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value)+
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechContext.Builder>public SpeechContext.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)+
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechContext.Builder>public SpeechContext.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)+
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechContext.Builder>public SpeechContext.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value)+
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechContext.Builder>public SpeechContext.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value)+
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechContext.Builder>public SpeechContext.Builder mergeFrom(com.google.protobuf.Message other)+
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SpeechContext.Builder>public SpeechContext.Builder mergeFrom(SpeechContext other)+
public final boolean isInitialized()+
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechContext.Builder>public SpeechContext.Builder mergeFrom(com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SpeechContext.Builder>java.io.IOExceptionpublic com.google.protobuf.ProtocolStringList getPhrasesList()+
+ *Optional* A list of strings containing words and phrases "hints" so that + the speech recognition is more likely to recognize them. This can be used + to improve the accuracy for specific words and phrases, for example, if + specific commands are typically spoken by the user. This can also be used + to add additional words to the vocabulary of the recognizer. See + [usage limits](https://cloud.google.com/speech/limits#content). ++ +
repeated string phrases = 1;getPhrasesList in interface SpeechContextOrBuilderpublic int getPhrasesCount()+
+ *Optional* A list of strings containing words and phrases "hints" so that + the speech recognition is more likely to recognize them. This can be used + to improve the accuracy for specific words and phrases, for example, if + specific commands are typically spoken by the user. This can also be used + to add additional words to the vocabulary of the recognizer. See + [usage limits](https://cloud.google.com/speech/limits#content). ++ +
repeated string phrases = 1;getPhrasesCount in interface SpeechContextOrBuilderpublic java.lang.String getPhrases(int index)+
+ *Optional* A list of strings containing words and phrases "hints" so that + the speech recognition is more likely to recognize them. This can be used + to improve the accuracy for specific words and phrases, for example, if + specific commands are typically spoken by the user. This can also be used + to add additional words to the vocabulary of the recognizer. See + [usage limits](https://cloud.google.com/speech/limits#content). ++ +
repeated string phrases = 1;getPhrases in interface SpeechContextOrBuilderpublic com.google.protobuf.ByteString getPhrasesBytes(int index)+
+ *Optional* A list of strings containing words and phrases "hints" so that + the speech recognition is more likely to recognize them. This can be used + to improve the accuracy for specific words and phrases, for example, if + specific commands are typically spoken by the user. This can also be used + to add additional words to the vocabulary of the recognizer. See + [usage limits](https://cloud.google.com/speech/limits#content). ++ +
repeated string phrases = 1;getPhrasesBytes in interface SpeechContextOrBuilderpublic SpeechContext.Builder setPhrases(int index, + java.lang.String value)+
+ *Optional* A list of strings containing words and phrases "hints" so that + the speech recognition is more likely to recognize them. This can be used + to improve the accuracy for specific words and phrases, for example, if + specific commands are typically spoken by the user. This can also be used + to add additional words to the vocabulary of the recognizer. See + [usage limits](https://cloud.google.com/speech/limits#content). ++ +
repeated string phrases = 1;public SpeechContext.Builder addPhrases(java.lang.String value)+
+ *Optional* A list of strings containing words and phrases "hints" so that + the speech recognition is more likely to recognize them. This can be used + to improve the accuracy for specific words and phrases, for example, if + specific commands are typically spoken by the user. This can also be used + to add additional words to the vocabulary of the recognizer. See + [usage limits](https://cloud.google.com/speech/limits#content). ++ +
repeated string phrases = 1;public SpeechContext.Builder addAllPhrases(java.lang.Iterable<java.lang.String> values)+
+ *Optional* A list of strings containing words and phrases "hints" so that + the speech recognition is more likely to recognize them. This can be used + to improve the accuracy for specific words and phrases, for example, if + specific commands are typically spoken by the user. This can also be used + to add additional words to the vocabulary of the recognizer. See + [usage limits](https://cloud.google.com/speech/limits#content). ++ +
repeated string phrases = 1;public SpeechContext.Builder clearPhrases()+
+ *Optional* A list of strings containing words and phrases "hints" so that + the speech recognition is more likely to recognize them. This can be used + to improve the accuracy for specific words and phrases, for example, if + specific commands are typically spoken by the user. This can also be used + to add additional words to the vocabulary of the recognizer. See + [usage limits](https://cloud.google.com/speech/limits#content). ++ +
repeated string phrases = 1;public SpeechContext.Builder addPhrasesBytes(com.google.protobuf.ByteString value)+
+ *Optional* A list of strings containing words and phrases "hints" so that + the speech recognition is more likely to recognize them. This can be used + to improve the accuracy for specific words and phrases, for example, if + specific commands are typically spoken by the user. This can also be used + to add additional words to the vocabulary of the recognizer. See + [usage limits](https://cloud.google.com/speech/limits#content). ++ +
repeated string phrases = 1;public final SpeechContext.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)+
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechContext.Builder>public final SpeechContext.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)+
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechContext.Builder>public final class SpeechContext +extends com.google.protobuf.GeneratedMessageV3 +implements SpeechContextOrBuilder+
+ Provides "hints" to the speech recognizer to favor specific words and phrases + in the results. ++ + Protobuf type
google.cloud.speech.v1p1beta1.SpeechContext| Modifier and Type | +Class and Description | +
|---|---|
static class |
+SpeechContext.Builder
+
+ Provides "hints" to the speech recognizer to favor specific words and phrases
+ in the results.
+ |
+
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | +Field and Description | +
|---|---|
static int |
+PHRASES_FIELD_NUMBER |
+
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | +Method and Description | +
|---|---|
boolean |
+equals(java.lang.Object obj) |
+
static SpeechContext |
+getDefaultInstance() |
+
SpeechContext |
+getDefaultInstanceForType() |
+
static com.google.protobuf.Descriptors.Descriptor |
+getDescriptor() |
+
com.google.protobuf.Parser<SpeechContext> |
+getParserForType() |
+
java.lang.String |
+getPhrases(int index)
+
+ *Optional* A list of strings containing words and phrases "hints" so that
+ the speech recognition is more likely to recognize them.
+ |
+
com.google.protobuf.ByteString |
+getPhrasesBytes(int index)
+
+ *Optional* A list of strings containing words and phrases "hints" so that
+ the speech recognition is more likely to recognize them.
+ |
+
int |
+getPhrasesCount()
+
+ *Optional* A list of strings containing words and phrases "hints" so that
+ the speech recognition is more likely to recognize them.
+ |
+
com.google.protobuf.ProtocolStringList |
+getPhrasesList()
+
+ *Optional* A list of strings containing words and phrases "hints" so that
+ the speech recognition is more likely to recognize them.
+ |
+
int |
+getSerializedSize() |
+
com.google.protobuf.UnknownFieldSet |
+getUnknownFields() |
+
int |
+hashCode() |
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
+internalGetFieldAccessorTable() |
+
boolean |
+isInitialized() |
+
static SpeechContext.Builder |
+newBuilder() |
+
static SpeechContext.Builder |
+newBuilder(SpeechContext prototype) |
+
SpeechContext.Builder |
+newBuilderForType() |
+
protected SpeechContext.Builder |
+newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
+
static SpeechContext |
+parseDelimitedFrom(java.io.InputStream input) |
+
static SpeechContext |
+parseDelimitedFrom(java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static SpeechContext |
+parseFrom(byte[] data) |
+
static SpeechContext |
+parseFrom(byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static SpeechContext |
+parseFrom(java.nio.ByteBuffer data) |
+
static SpeechContext |
+parseFrom(java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static SpeechContext |
+parseFrom(com.google.protobuf.ByteString data) |
+
static SpeechContext |
+parseFrom(com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static SpeechContext |
+parseFrom(com.google.protobuf.CodedInputStream input) |
+
static SpeechContext |
+parseFrom(com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static SpeechContext |
+parseFrom(java.io.InputStream input) |
+
static SpeechContext |
+parseFrom(java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static com.google.protobuf.Parser<SpeechContext> |
+parser() |
+
SpeechContext.Builder |
+toBuilder() |
+
void |
+writeTo(com.google.protobuf.CodedOutputStream output) |
+
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int PHRASES_FIELD_NUMBER+
public final com.google.protobuf.UnknownFieldSet getUnknownFields()+
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()+
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public com.google.protobuf.ProtocolStringList getPhrasesList()+
+ *Optional* A list of strings containing words and phrases "hints" so that + the speech recognition is more likely to recognize them. This can be used + to improve the accuracy for specific words and phrases, for example, if + specific commands are typically spoken by the user. This can also be used + to add additional words to the vocabulary of the recognizer. See + [usage limits](https://cloud.google.com/speech/limits#content). ++ +
repeated string phrases = 1;getPhrasesList in interface SpeechContextOrBuilderpublic int getPhrasesCount()+
+ *Optional* A list of strings containing words and phrases "hints" so that + the speech recognition is more likely to recognize them. This can be used + to improve the accuracy for specific words and phrases, for example, if + specific commands are typically spoken by the user. This can also be used + to add additional words to the vocabulary of the recognizer. See + [usage limits](https://cloud.google.com/speech/limits#content). ++ +
repeated string phrases = 1;getPhrasesCount in interface SpeechContextOrBuilderpublic java.lang.String getPhrases(int index)+
+ *Optional* A list of strings containing words and phrases "hints" so that + the speech recognition is more likely to recognize them. This can be used + to improve the accuracy for specific words and phrases, for example, if + specific commands are typically spoken by the user. This can also be used + to add additional words to the vocabulary of the recognizer. See + [usage limits](https://cloud.google.com/speech/limits#content). ++ +
repeated string phrases = 1;getPhrases in interface SpeechContextOrBuilderpublic com.google.protobuf.ByteString getPhrasesBytes(int index)+
+ *Optional* A list of strings containing words and phrases "hints" so that + the speech recognition is more likely to recognize them. This can be used + to improve the accuracy for specific words and phrases, for example, if + specific commands are typically spoken by the user. This can also be used + to add additional words to the vocabulary of the recognizer. See + [usage limits](https://cloud.google.com/speech/limits#content). ++ +
repeated string phrases = 1;getPhrasesBytes in interface SpeechContextOrBuilderpublic final boolean isInitialized()+
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException+
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()+
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)+
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()+
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static SpeechContext parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SpeechContext parseFrom(java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SpeechContext parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SpeechContext parseFrom(com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SpeechContext parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SpeechContext parseFrom(byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SpeechContext parseFrom(java.io.InputStream input) + throws java.io.IOException+
java.io.IOExceptionpublic static SpeechContext parseFrom(java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
java.io.IOExceptionpublic static SpeechContext parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException+
java.io.IOExceptionpublic static SpeechContext parseDelimitedFrom(java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
java.io.IOExceptionpublic static SpeechContext parseFrom(com.google.protobuf.CodedInputStream input) + throws java.io.IOException+
java.io.IOExceptionpublic static SpeechContext parseFrom(com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
java.io.IOExceptionpublic SpeechContext.Builder newBuilderForType()+
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static SpeechContext.Builder newBuilder()+
public static SpeechContext.Builder newBuilder(SpeechContext prototype)+
public SpeechContext.Builder toBuilder()+
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected SpeechContext.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)+
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static SpeechContext getDefaultInstance()+
public static com.google.protobuf.Parser<SpeechContext> parser()+
public com.google.protobuf.Parser<SpeechContext> getParserForType()+
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public SpeechContext getDefaultInstanceForType()+
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic interface SpeechContextOrBuilder
+extends com.google.protobuf.MessageOrBuilder
+| Modifier and Type | +Method and Description | +
|---|---|
java.lang.String |
+getPhrases(int index)
+
+ *Optional* A list of strings containing words and phrases "hints" so that
+ the speech recognition is more likely to recognize them.
+ |
+
com.google.protobuf.ByteString |
+getPhrasesBytes(int index)
+
+ *Optional* A list of strings containing words and phrases "hints" so that
+ the speech recognition is more likely to recognize them.
+ |
+
int |
+getPhrasesCount()
+
+ *Optional* A list of strings containing words and phrases "hints" so that
+ the speech recognition is more likely to recognize them.
+ |
+
java.util.List<java.lang.String> |
+getPhrasesList()
+
+ *Optional* A list of strings containing words and phrases "hints" so that
+ the speech recognition is more likely to recognize them.
+ |
+
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofisInitializedjava.util.List<java.lang.String> getPhrasesList()+
+ *Optional* A list of strings containing words and phrases "hints" so that + the speech recognition is more likely to recognize them. This can be used + to improve the accuracy for specific words and phrases, for example, if + specific commands are typically spoken by the user. This can also be used + to add additional words to the vocabulary of the recognizer. See + [usage limits](https://cloud.google.com/speech/limits#content). ++ +
repeated string phrases = 1;int getPhrasesCount()+
+ *Optional* A list of strings containing words and phrases "hints" so that + the speech recognition is more likely to recognize them. This can be used + to improve the accuracy for specific words and phrases, for example, if + specific commands are typically spoken by the user. This can also be used + to add additional words to the vocabulary of the recognizer. See + [usage limits](https://cloud.google.com/speech/limits#content). ++ +
repeated string phrases = 1;java.lang.String getPhrases(int index)+
+ *Optional* A list of strings containing words and phrases "hints" so that + the speech recognition is more likely to recognize them. This can be used + to improve the accuracy for specific words and phrases, for example, if + specific commands are typically spoken by the user. This can also be used + to add additional words to the vocabulary of the recognizer. See + [usage limits](https://cloud.google.com/speech/limits#content). ++ +
repeated string phrases = 1;com.google.protobuf.ByteString getPhrasesBytes(int index)+
+ *Optional* A list of strings containing words and phrases "hints" so that + the speech recognition is more likely to recognize them. This can be used + to improve the accuracy for specific words and phrases, for example, if + specific commands are typically spoken by the user. This can also be used + to add additional words to the vocabulary of the recognizer. See + [usage limits](https://cloud.google.com/speech/limits#content). ++ +
repeated string phrases = 1;public final class SpeechProto
+extends java.lang.Object
+| Modifier and Type | +Method and Description | +
|---|---|
static com.google.protobuf.Descriptors.FileDescriptor |
+getDescriptor() |
+
static void |
+registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) |
+
static void |
+registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) |
+
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)+
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry)+
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor()+
public static final class SpeechRecognitionAlternative.Builder +extends com.google.protobuf.GeneratedMessageV3.Builder<SpeechRecognitionAlternative.Builder> +implements SpeechRecognitionAlternativeOrBuilder+
+ Alternative hypotheses (a.k.a. n-best list). ++ + Protobuf type
google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative| Modifier and Type | +Method and Description | +
|---|---|
SpeechRecognitionAlternative.Builder |
+addAllWords(java.lang.Iterable<? extends WordInfo> values)
+
+ *Output-only* A list of word-specific information for each recognized word.
+ |
+
SpeechRecognitionAlternative.Builder |
+addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) |
+
SpeechRecognitionAlternative.Builder |
+addWords(int index,
+ WordInfo.Builder builderForValue)
+
+ *Output-only* A list of word-specific information for each recognized word.
+ |
+
SpeechRecognitionAlternative.Builder |
+addWords(int index,
+ WordInfo value)
+
+ *Output-only* A list of word-specific information for each recognized word.
+ |
+
SpeechRecognitionAlternative.Builder |
+addWords(WordInfo.Builder builderForValue)
+
+ *Output-only* A list of word-specific information for each recognized word.
+ |
+
SpeechRecognitionAlternative.Builder |
+addWords(WordInfo value)
+
+ *Output-only* A list of word-specific information for each recognized word.
+ |
+
WordInfo.Builder |
+addWordsBuilder()
+
+ *Output-only* A list of word-specific information for each recognized word.
+ |
+
WordInfo.Builder |
+addWordsBuilder(int index)
+
+ *Output-only* A list of word-specific information for each recognized word.
+ |
+
SpeechRecognitionAlternative |
+build() |
+
SpeechRecognitionAlternative |
+buildPartial() |
+
SpeechRecognitionAlternative.Builder |
+clear() |
+
SpeechRecognitionAlternative.Builder |
+clearConfidence()
+
+ *Output-only* The confidence estimate between 0.0 and 1.0.
+ |
+
SpeechRecognitionAlternative.Builder |
+clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
+
SpeechRecognitionAlternative.Builder |
+clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
+
SpeechRecognitionAlternative.Builder |
+clearTranscript()
+
+ *Output-only* Transcript text representing the words that the user spoke.
+ |
+
SpeechRecognitionAlternative.Builder |
+clearWords()
+
+ *Output-only* A list of word-specific information for each recognized word.
+ |
+
SpeechRecognitionAlternative.Builder |
+clone() |
+
float |
+getConfidence()
+
+ *Output-only* The confidence estimate between 0.0 and 1.0.
+ |
+
SpeechRecognitionAlternative |
+getDefaultInstanceForType() |
+
static com.google.protobuf.Descriptors.Descriptor |
+getDescriptor() |
+
com.google.protobuf.Descriptors.Descriptor |
+getDescriptorForType() |
+
java.lang.String |
+getTranscript()
+
+ *Output-only* Transcript text representing the words that the user spoke.
+ |
+
com.google.protobuf.ByteString |
+getTranscriptBytes()
+
+ *Output-only* Transcript text representing the words that the user spoke.
+ |
+
WordInfo |
+getWords(int index)
+
+ *Output-only* A list of word-specific information for each recognized word.
+ |
+
WordInfo.Builder |
+getWordsBuilder(int index)
+
+ *Output-only* A list of word-specific information for each recognized word.
+ |
+
java.util.List<WordInfo.Builder> |
+getWordsBuilderList()
+
+ *Output-only* A list of word-specific information for each recognized word.
+ |
+
int |
+getWordsCount()
+
+ *Output-only* A list of word-specific information for each recognized word.
+ |
+
java.util.List<WordInfo> |
+getWordsList()
+
+ *Output-only* A list of word-specific information for each recognized word.
+ |
+
WordInfoOrBuilder |
+getWordsOrBuilder(int index)
+
+ *Output-only* A list of word-specific information for each recognized word.
+ |
+
java.util.List<? extends WordInfoOrBuilder> |
+getWordsOrBuilderList()
+
+ *Output-only* A list of word-specific information for each recognized word.
+ |
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
+internalGetFieldAccessorTable() |
+
boolean |
+isInitialized() |
+
SpeechRecognitionAlternative.Builder |
+mergeFrom(com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
SpeechRecognitionAlternative.Builder |
+mergeFrom(com.google.protobuf.Message other) |
+
SpeechRecognitionAlternative.Builder |
+mergeFrom(SpeechRecognitionAlternative other) |
+
SpeechRecognitionAlternative.Builder |
+mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
+
SpeechRecognitionAlternative.Builder |
+removeWords(int index)
+
+ *Output-only* A list of word-specific information for each recognized word.
+ |
+
SpeechRecognitionAlternative.Builder |
+setConfidence(float value)
+
+ *Output-only* The confidence estimate between 0.0 and 1.0.
+ |
+
SpeechRecognitionAlternative.Builder |
+setField(com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) |
+
SpeechRecognitionAlternative.Builder |
+setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
+ int index,
+ java.lang.Object value) |
+
SpeechRecognitionAlternative.Builder |
+setTranscript(java.lang.String value)
+
+ *Output-only* Transcript text representing the words that the user spoke.
+ |
+
SpeechRecognitionAlternative.Builder |
+setTranscriptBytes(com.google.protobuf.ByteString value)
+
+ *Output-only* Transcript text representing the words that the user spoke.
+ |
+
SpeechRecognitionAlternative.Builder |
+setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
+
SpeechRecognitionAlternative.Builder |
+setWords(int index,
+ WordInfo.Builder builderForValue)
+
+ *Output-only* A list of word-specific information for each recognized word.
+ |
+
SpeechRecognitionAlternative.Builder |
+setWords(int index,
+ WordInfo value)
+
+ *Output-only* A list of word-specific information for each recognized word.
+ |
+
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()+
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechRecognitionAlternative.Builder>public SpeechRecognitionAlternative.Builder clear()+
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechRecognitionAlternative.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()+
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechRecognitionAlternative.Builder>public SpeechRecognitionAlternative getDefaultInstanceForType()+
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SpeechRecognitionAlternative build()+
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SpeechRecognitionAlternative buildPartial()+
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SpeechRecognitionAlternative.Builder clone()+
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechRecognitionAlternative.Builder>public SpeechRecognitionAlternative.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value)+
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechRecognitionAlternative.Builder>public SpeechRecognitionAlternative.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)+
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechRecognitionAlternative.Builder>public SpeechRecognitionAlternative.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)+
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechRecognitionAlternative.Builder>public SpeechRecognitionAlternative.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value)+
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechRecognitionAlternative.Builder>public SpeechRecognitionAlternative.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value)+
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechRecognitionAlternative.Builder>public SpeechRecognitionAlternative.Builder mergeFrom(com.google.protobuf.Message other)+
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SpeechRecognitionAlternative.Builder>public SpeechRecognitionAlternative.Builder mergeFrom(SpeechRecognitionAlternative other)+
public final boolean isInitialized()+
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechRecognitionAlternative.Builder>public SpeechRecognitionAlternative.Builder mergeFrom(com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SpeechRecognitionAlternative.Builder>java.io.IOExceptionpublic java.lang.String getTranscript()+
+ *Output-only* Transcript text representing the words that the user spoke. ++ +
string transcript = 1;getTranscript in interface SpeechRecognitionAlternativeOrBuilderpublic com.google.protobuf.ByteString getTranscriptBytes()+
+ *Output-only* Transcript text representing the words that the user spoke. ++ +
string transcript = 1;getTranscriptBytes in interface SpeechRecognitionAlternativeOrBuilderpublic SpeechRecognitionAlternative.Builder setTranscript(java.lang.String value)+
+ *Output-only* Transcript text representing the words that the user spoke. ++ +
string transcript = 1;public SpeechRecognitionAlternative.Builder clearTranscript()+
+ *Output-only* Transcript text representing the words that the user spoke. ++ +
string transcript = 1;public SpeechRecognitionAlternative.Builder setTranscriptBytes(com.google.protobuf.ByteString value)+
+ *Output-only* Transcript text representing the words that the user spoke. ++ +
string transcript = 1;public float getConfidence()+
+ *Output-only* The confidence estimate between 0.0 and 1.0. A higher number + indicates an estimated greater likelihood that the recognized words are + correct. This field is set only for the top alternative of a non-streaming + result or, of a streaming result where `is_final=true`. + This field is not guaranteed to be accurate and users should not rely on it + to be always provided. + The default of 0.0 is a sentinel value indicating `confidence` was not set. ++ +
float confidence = 2;getConfidence in interface SpeechRecognitionAlternativeOrBuilderpublic SpeechRecognitionAlternative.Builder setConfidence(float value)+
+ *Output-only* The confidence estimate between 0.0 and 1.0. A higher number + indicates an estimated greater likelihood that the recognized words are + correct. This field is set only for the top alternative of a non-streaming + result or, of a streaming result where `is_final=true`. + This field is not guaranteed to be accurate and users should not rely on it + to be always provided. + The default of 0.0 is a sentinel value indicating `confidence` was not set. ++ +
float confidence = 2;public SpeechRecognitionAlternative.Builder clearConfidence()+
+ *Output-only* The confidence estimate between 0.0 and 1.0. A higher number + indicates an estimated greater likelihood that the recognized words are + correct. This field is set only for the top alternative of a non-streaming + result or, of a streaming result where `is_final=true`. + This field is not guaranteed to be accurate and users should not rely on it + to be always provided. + The default of 0.0 is a sentinel value indicating `confidence` was not set. ++ +
float confidence = 2;public java.util.List<WordInfo> getWordsList()+
+ *Output-only* A list of word-specific information for each recognized word. ++ +
repeated .google.cloud.speech.v1p1beta1.WordInfo words = 3;getWordsList in interface SpeechRecognitionAlternativeOrBuilderpublic int getWordsCount()+
+ *Output-only* A list of word-specific information for each recognized word. ++ +
repeated .google.cloud.speech.v1p1beta1.WordInfo words = 3;getWordsCount in interface SpeechRecognitionAlternativeOrBuilderpublic WordInfo getWords(int index)+
+ *Output-only* A list of word-specific information for each recognized word. ++ +
repeated .google.cloud.speech.v1p1beta1.WordInfo words = 3;getWords in interface SpeechRecognitionAlternativeOrBuilderpublic SpeechRecognitionAlternative.Builder setWords(int index, + WordInfo value)+
+ *Output-only* A list of word-specific information for each recognized word. ++ +
repeated .google.cloud.speech.v1p1beta1.WordInfo words = 3;public SpeechRecognitionAlternative.Builder setWords(int index, + WordInfo.Builder builderForValue)+
+ *Output-only* A list of word-specific information for each recognized word. ++ +
repeated .google.cloud.speech.v1p1beta1.WordInfo words = 3;public SpeechRecognitionAlternative.Builder addWords(WordInfo value)+
+ *Output-only* A list of word-specific information for each recognized word. ++ +
repeated .google.cloud.speech.v1p1beta1.WordInfo words = 3;public SpeechRecognitionAlternative.Builder addWords(int index, + WordInfo value)+
+ *Output-only* A list of word-specific information for each recognized word. ++ +
repeated .google.cloud.speech.v1p1beta1.WordInfo words = 3;public SpeechRecognitionAlternative.Builder addWords(WordInfo.Builder builderForValue)+
+ *Output-only* A list of word-specific information for each recognized word. ++ +
repeated .google.cloud.speech.v1p1beta1.WordInfo words = 3;public SpeechRecognitionAlternative.Builder addWords(int index, + WordInfo.Builder builderForValue)+
+ *Output-only* A list of word-specific information for each recognized word. ++ +
repeated .google.cloud.speech.v1p1beta1.WordInfo words = 3;public SpeechRecognitionAlternative.Builder addAllWords(java.lang.Iterable<? extends WordInfo> values)+
+ *Output-only* A list of word-specific information for each recognized word. ++ +
repeated .google.cloud.speech.v1p1beta1.WordInfo words = 3;public SpeechRecognitionAlternative.Builder clearWords()+
+ *Output-only* A list of word-specific information for each recognized word. ++ +
repeated .google.cloud.speech.v1p1beta1.WordInfo words = 3;public SpeechRecognitionAlternative.Builder removeWords(int index)+
+ *Output-only* A list of word-specific information for each recognized word. ++ +
repeated .google.cloud.speech.v1p1beta1.WordInfo words = 3;public WordInfo.Builder getWordsBuilder(int index)+
+ *Output-only* A list of word-specific information for each recognized word. ++ +
repeated .google.cloud.speech.v1p1beta1.WordInfo words = 3;public WordInfoOrBuilder getWordsOrBuilder(int index)+
+ *Output-only* A list of word-specific information for each recognized word. ++ +
repeated .google.cloud.speech.v1p1beta1.WordInfo words = 3;getWordsOrBuilder in interface SpeechRecognitionAlternativeOrBuilderpublic java.util.List<? extends WordInfoOrBuilder> getWordsOrBuilderList()+
+ *Output-only* A list of word-specific information for each recognized word. ++ +
repeated .google.cloud.speech.v1p1beta1.WordInfo words = 3;getWordsOrBuilderList in interface SpeechRecognitionAlternativeOrBuilderpublic WordInfo.Builder addWordsBuilder()+
+ *Output-only* A list of word-specific information for each recognized word. ++ +
repeated .google.cloud.speech.v1p1beta1.WordInfo words = 3;public WordInfo.Builder addWordsBuilder(int index)+
+ *Output-only* A list of word-specific information for each recognized word. ++ +
repeated .google.cloud.speech.v1p1beta1.WordInfo words = 3;public java.util.List<WordInfo.Builder> getWordsBuilderList()+
+ *Output-only* A list of word-specific information for each recognized word. ++ +
repeated .google.cloud.speech.v1p1beta1.WordInfo words = 3;public final SpeechRecognitionAlternative.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)+
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechRecognitionAlternative.Builder>public final SpeechRecognitionAlternative.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)+
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechRecognitionAlternative.Builder>public final class SpeechRecognitionAlternative +extends com.google.protobuf.GeneratedMessageV3 +implements SpeechRecognitionAlternativeOrBuilder+
+ Alternative hypotheses (a.k.a. n-best list). ++ + Protobuf type
google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative| Modifier and Type | +Class and Description | +
|---|---|
static class |
+SpeechRecognitionAlternative.Builder
+
+ Alternative hypotheses (a.k.a.
+ |
+
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | +Field and Description | +
|---|---|
static int |
+CONFIDENCE_FIELD_NUMBER |
+
static int |
+TRANSCRIPT_FIELD_NUMBER |
+
static int |
+WORDS_FIELD_NUMBER |
+
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | +Method and Description | +
|---|---|
boolean |
+equals(java.lang.Object obj) |
+
float |
+getConfidence()
+
+ *Output-only* The confidence estimate between 0.0 and 1.0.
+ |
+
static SpeechRecognitionAlternative |
+getDefaultInstance() |
+
SpeechRecognitionAlternative |
+getDefaultInstanceForType() |
+
static com.google.protobuf.Descriptors.Descriptor |
+getDescriptor() |
+
com.google.protobuf.Parser<SpeechRecognitionAlternative> |
+getParserForType() |
+
int |
+getSerializedSize() |
+
java.lang.String |
+getTranscript()
+
+ *Output-only* Transcript text representing the words that the user spoke.
+ |
+
com.google.protobuf.ByteString |
+getTranscriptBytes()
+
+ *Output-only* Transcript text representing the words that the user spoke.
+ |
+
com.google.protobuf.UnknownFieldSet |
+getUnknownFields() |
+
WordInfo |
+getWords(int index)
+
+ *Output-only* A list of word-specific information for each recognized word.
+ |
+
int |
+getWordsCount()
+
+ *Output-only* A list of word-specific information for each recognized word.
+ |
+
java.util.List<WordInfo> |
+getWordsList()
+
+ *Output-only* A list of word-specific information for each recognized word.
+ |
+
WordInfoOrBuilder |
+getWordsOrBuilder(int index)
+
+ *Output-only* A list of word-specific information for each recognized word.
+ |
+
java.util.List<? extends WordInfoOrBuilder> |
+getWordsOrBuilderList()
+
+ *Output-only* A list of word-specific information for each recognized word.
+ |
+
int |
+hashCode() |
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
+internalGetFieldAccessorTable() |
+
boolean |
+isInitialized() |
+
static SpeechRecognitionAlternative.Builder |
+newBuilder() |
+
static SpeechRecognitionAlternative.Builder |
+newBuilder(SpeechRecognitionAlternative prototype) |
+
SpeechRecognitionAlternative.Builder |
+newBuilderForType() |
+
protected SpeechRecognitionAlternative.Builder |
+newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
+
static SpeechRecognitionAlternative |
+parseDelimitedFrom(java.io.InputStream input) |
+
static SpeechRecognitionAlternative |
+parseDelimitedFrom(java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static SpeechRecognitionAlternative |
+parseFrom(byte[] data) |
+
static SpeechRecognitionAlternative |
+parseFrom(byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static SpeechRecognitionAlternative |
+parseFrom(java.nio.ByteBuffer data) |
+
static SpeechRecognitionAlternative |
+parseFrom(java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static SpeechRecognitionAlternative |
+parseFrom(com.google.protobuf.ByteString data) |
+
static SpeechRecognitionAlternative |
+parseFrom(com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static SpeechRecognitionAlternative |
+parseFrom(com.google.protobuf.CodedInputStream input) |
+
static SpeechRecognitionAlternative |
+parseFrom(com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static SpeechRecognitionAlternative |
+parseFrom(java.io.InputStream input) |
+
static SpeechRecognitionAlternative |
+parseFrom(java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static com.google.protobuf.Parser<SpeechRecognitionAlternative> |
+parser() |
+
SpeechRecognitionAlternative.Builder |
+toBuilder() |
+
void |
+writeTo(com.google.protobuf.CodedOutputStream output) |
+
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int TRANSCRIPT_FIELD_NUMBER+
public static final int CONFIDENCE_FIELD_NUMBER+
public static final int WORDS_FIELD_NUMBER+
public final com.google.protobuf.UnknownFieldSet getUnknownFields()+
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()+
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public java.lang.String getTranscript()+
+ *Output-only* Transcript text representing the words that the user spoke. ++ +
string transcript = 1;getTranscript in interface SpeechRecognitionAlternativeOrBuilderpublic com.google.protobuf.ByteString getTranscriptBytes()+
+ *Output-only* Transcript text representing the words that the user spoke. ++ +
string transcript = 1;getTranscriptBytes in interface SpeechRecognitionAlternativeOrBuilderpublic float getConfidence()+
+ *Output-only* The confidence estimate between 0.0 and 1.0. A higher number + indicates an estimated greater likelihood that the recognized words are + correct. This field is set only for the top alternative of a non-streaming + result or, of a streaming result where `is_final=true`. + This field is not guaranteed to be accurate and users should not rely on it + to be always provided. + The default of 0.0 is a sentinel value indicating `confidence` was not set. ++ +
float confidence = 2;getConfidence in interface SpeechRecognitionAlternativeOrBuilderpublic java.util.List<WordInfo> getWordsList()+
+ *Output-only* A list of word-specific information for each recognized word. ++ +
repeated .google.cloud.speech.v1p1beta1.WordInfo words = 3;getWordsList in interface SpeechRecognitionAlternativeOrBuilderpublic java.util.List<? extends WordInfoOrBuilder> getWordsOrBuilderList()+
+ *Output-only* A list of word-specific information for each recognized word. ++ +
repeated .google.cloud.speech.v1p1beta1.WordInfo words = 3;getWordsOrBuilderList in interface SpeechRecognitionAlternativeOrBuilderpublic int getWordsCount()+
+ *Output-only* A list of word-specific information for each recognized word. ++ +
repeated .google.cloud.speech.v1p1beta1.WordInfo words = 3;getWordsCount in interface SpeechRecognitionAlternativeOrBuilderpublic WordInfo getWords(int index)+
+ *Output-only* A list of word-specific information for each recognized word. ++ +
repeated .google.cloud.speech.v1p1beta1.WordInfo words = 3;getWords in interface SpeechRecognitionAlternativeOrBuilderpublic WordInfoOrBuilder getWordsOrBuilder(int index)+
+ *Output-only* A list of word-specific information for each recognized word. ++ +
repeated .google.cloud.speech.v1p1beta1.WordInfo words = 3;getWordsOrBuilder in interface SpeechRecognitionAlternativeOrBuilderpublic final boolean isInitialized()+
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException+
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()+
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)+
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()+
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static SpeechRecognitionAlternative parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SpeechRecognitionAlternative parseFrom(java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SpeechRecognitionAlternative parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SpeechRecognitionAlternative parseFrom(com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SpeechRecognitionAlternative parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SpeechRecognitionAlternative parseFrom(byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SpeechRecognitionAlternative parseFrom(java.io.InputStream input) + throws java.io.IOException+
java.io.IOExceptionpublic static SpeechRecognitionAlternative parseFrom(java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
java.io.IOExceptionpublic static SpeechRecognitionAlternative parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException+
java.io.IOExceptionpublic static SpeechRecognitionAlternative parseDelimitedFrom(java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
java.io.IOExceptionpublic static SpeechRecognitionAlternative parseFrom(com.google.protobuf.CodedInputStream input) + throws java.io.IOException+
java.io.IOExceptionpublic static SpeechRecognitionAlternative parseFrom(com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
java.io.IOExceptionpublic SpeechRecognitionAlternative.Builder newBuilderForType()+
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static SpeechRecognitionAlternative.Builder newBuilder()+
public static SpeechRecognitionAlternative.Builder newBuilder(SpeechRecognitionAlternative prototype)+
public SpeechRecognitionAlternative.Builder toBuilder()+
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected SpeechRecognitionAlternative.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)+
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static SpeechRecognitionAlternative getDefaultInstance()+
public static com.google.protobuf.Parser<SpeechRecognitionAlternative> parser()+
public com.google.protobuf.Parser<SpeechRecognitionAlternative> getParserForType()+
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public SpeechRecognitionAlternative getDefaultInstanceForType()+
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic interface SpeechRecognitionAlternativeOrBuilder
+extends com.google.protobuf.MessageOrBuilder
+| Modifier and Type | +Method and Description | +
|---|---|
float |
+getConfidence()
+
+ *Output-only* The confidence estimate between 0.0 and 1.0.
+ |
+
java.lang.String |
+getTranscript()
+
+ *Output-only* Transcript text representing the words that the user spoke.
+ |
+
com.google.protobuf.ByteString |
+getTranscriptBytes()
+
+ *Output-only* Transcript text representing the words that the user spoke.
+ |
+
WordInfo |
+getWords(int index)
+
+ *Output-only* A list of word-specific information for each recognized word.
+ |
+
int |
+getWordsCount()
+
+ *Output-only* A list of word-specific information for each recognized word.
+ |
+
java.util.List<WordInfo> |
+getWordsList()
+
+ *Output-only* A list of word-specific information for each recognized word.
+ |
+
WordInfoOrBuilder |
+getWordsOrBuilder(int index)
+
+ *Output-only* A list of word-specific information for each recognized word.
+ |
+
java.util.List<? extends WordInfoOrBuilder> |
+getWordsOrBuilderList()
+
+ *Output-only* A list of word-specific information for each recognized word.
+ |
+
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofisInitializedjava.lang.String getTranscript()+
+ *Output-only* Transcript text representing the words that the user spoke. ++ +
string transcript = 1;com.google.protobuf.ByteString getTranscriptBytes()+
+ *Output-only* Transcript text representing the words that the user spoke. ++ +
string transcript = 1;float getConfidence()+
+ *Output-only* The confidence estimate between 0.0 and 1.0. A higher number + indicates an estimated greater likelihood that the recognized words are + correct. This field is set only for the top alternative of a non-streaming + result or, of a streaming result where `is_final=true`. + This field is not guaranteed to be accurate and users should not rely on it + to be always provided. + The default of 0.0 is a sentinel value indicating `confidence` was not set. ++ +
float confidence = 2;java.util.List<WordInfo> getWordsList()+
+ *Output-only* A list of word-specific information for each recognized word. ++ +
repeated .google.cloud.speech.v1p1beta1.WordInfo words = 3;WordInfo getWords(int index)+
+ *Output-only* A list of word-specific information for each recognized word. ++ +
repeated .google.cloud.speech.v1p1beta1.WordInfo words = 3;int getWordsCount()+
+ *Output-only* A list of word-specific information for each recognized word. ++ +
repeated .google.cloud.speech.v1p1beta1.WordInfo words = 3;java.util.List<? extends WordInfoOrBuilder> getWordsOrBuilderList()+
+ *Output-only* A list of word-specific information for each recognized word. ++ +
repeated .google.cloud.speech.v1p1beta1.WordInfo words = 3;WordInfoOrBuilder getWordsOrBuilder(int index)+
+ *Output-only* A list of word-specific information for each recognized word. ++ +
repeated .google.cloud.speech.v1p1beta1.WordInfo words = 3;public static final class SpeechRecognitionResult.Builder +extends com.google.protobuf.GeneratedMessageV3.Builder<SpeechRecognitionResult.Builder> +implements SpeechRecognitionResultOrBuilder+
+ A speech recognition result corresponding to a portion of the audio. ++ + Protobuf type
google.cloud.speech.v1p1beta1.SpeechRecognitionResult| Modifier and Type | +Method and Description | +
|---|---|
SpeechRecognitionResult.Builder |
+addAllAlternatives(java.lang.Iterable<? extends SpeechRecognitionAlternative> values)
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
SpeechRecognitionResult.Builder |
+addAlternatives(int index,
+ SpeechRecognitionAlternative.Builder builderForValue)
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
SpeechRecognitionResult.Builder |
+addAlternatives(int index,
+ SpeechRecognitionAlternative value)
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
SpeechRecognitionResult.Builder |
+addAlternatives(SpeechRecognitionAlternative.Builder builderForValue)
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
SpeechRecognitionResult.Builder |
+addAlternatives(SpeechRecognitionAlternative value)
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
SpeechRecognitionAlternative.Builder |
+addAlternativesBuilder()
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
SpeechRecognitionAlternative.Builder |
+addAlternativesBuilder(int index)
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
SpeechRecognitionResult.Builder |
+addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) |
+
SpeechRecognitionResult |
+build() |
+
SpeechRecognitionResult |
+buildPartial() |
+
SpeechRecognitionResult.Builder |
+clear() |
+
SpeechRecognitionResult.Builder |
+clearAlternatives()
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
SpeechRecognitionResult.Builder |
+clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
+
SpeechRecognitionResult.Builder |
+clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
+
SpeechRecognitionResult.Builder |
+clone() |
+
SpeechRecognitionAlternative |
+getAlternatives(int index)
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
SpeechRecognitionAlternative.Builder |
+getAlternativesBuilder(int index)
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
java.util.List<SpeechRecognitionAlternative.Builder> |
+getAlternativesBuilderList()
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
int |
+getAlternativesCount()
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
java.util.List<SpeechRecognitionAlternative> |
+getAlternativesList()
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
SpeechRecognitionAlternativeOrBuilder |
+getAlternativesOrBuilder(int index)
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
java.util.List<? extends SpeechRecognitionAlternativeOrBuilder> |
+getAlternativesOrBuilderList()
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
SpeechRecognitionResult |
+getDefaultInstanceForType() |
+
static com.google.protobuf.Descriptors.Descriptor |
+getDescriptor() |
+
com.google.protobuf.Descriptors.Descriptor |
+getDescriptorForType() |
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
+internalGetFieldAccessorTable() |
+
boolean |
+isInitialized() |
+
SpeechRecognitionResult.Builder |
+mergeFrom(com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
SpeechRecognitionResult.Builder |
+mergeFrom(com.google.protobuf.Message other) |
+
SpeechRecognitionResult.Builder |
+mergeFrom(SpeechRecognitionResult other) |
+
SpeechRecognitionResult.Builder |
+mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
+
SpeechRecognitionResult.Builder |
+removeAlternatives(int index)
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
SpeechRecognitionResult.Builder |
+setAlternatives(int index,
+ SpeechRecognitionAlternative.Builder builderForValue)
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
SpeechRecognitionResult.Builder |
+setAlternatives(int index,
+ SpeechRecognitionAlternative value)
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
SpeechRecognitionResult.Builder |
+setField(com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) |
+
SpeechRecognitionResult.Builder |
+setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
+ int index,
+ java.lang.Object value) |
+
SpeechRecognitionResult.Builder |
+setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
+
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()+
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechRecognitionResult.Builder>public SpeechRecognitionResult.Builder clear()+
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechRecognitionResult.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()+
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechRecognitionResult.Builder>public SpeechRecognitionResult getDefaultInstanceForType()+
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SpeechRecognitionResult build()+
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SpeechRecognitionResult buildPartial()+
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SpeechRecognitionResult.Builder clone()+
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechRecognitionResult.Builder>public SpeechRecognitionResult.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value)+
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechRecognitionResult.Builder>public SpeechRecognitionResult.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)+
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechRecognitionResult.Builder>public SpeechRecognitionResult.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)+
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechRecognitionResult.Builder>public SpeechRecognitionResult.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value)+
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechRecognitionResult.Builder>public SpeechRecognitionResult.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value)+
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechRecognitionResult.Builder>public SpeechRecognitionResult.Builder mergeFrom(com.google.protobuf.Message other)+
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SpeechRecognitionResult.Builder>public SpeechRecognitionResult.Builder mergeFrom(SpeechRecognitionResult other)+
public final boolean isInitialized()+
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechRecognitionResult.Builder>public SpeechRecognitionResult.Builder mergeFrom(com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SpeechRecognitionResult.Builder>java.io.IOExceptionpublic java.util.List<SpeechRecognitionAlternative> getAlternativesList()+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;getAlternativesList in interface SpeechRecognitionResultOrBuilderpublic int getAlternativesCount()+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;getAlternativesCount in interface SpeechRecognitionResultOrBuilderpublic SpeechRecognitionAlternative getAlternatives(int index)+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;getAlternatives in interface SpeechRecognitionResultOrBuilderpublic SpeechRecognitionResult.Builder setAlternatives(int index, + SpeechRecognitionAlternative value)+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;public SpeechRecognitionResult.Builder setAlternatives(int index, + SpeechRecognitionAlternative.Builder builderForValue)+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;public SpeechRecognitionResult.Builder addAlternatives(SpeechRecognitionAlternative value)+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;public SpeechRecognitionResult.Builder addAlternatives(int index, + SpeechRecognitionAlternative value)+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;public SpeechRecognitionResult.Builder addAlternatives(SpeechRecognitionAlternative.Builder builderForValue)+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;public SpeechRecognitionResult.Builder addAlternatives(int index, + SpeechRecognitionAlternative.Builder builderForValue)+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;public SpeechRecognitionResult.Builder addAllAlternatives(java.lang.Iterable<? extends SpeechRecognitionAlternative> values)+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;public SpeechRecognitionResult.Builder clearAlternatives()+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;public SpeechRecognitionResult.Builder removeAlternatives(int index)+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;public SpeechRecognitionAlternative.Builder getAlternativesBuilder(int index)+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;public SpeechRecognitionAlternativeOrBuilder getAlternativesOrBuilder(int index)+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;getAlternativesOrBuilder in interface SpeechRecognitionResultOrBuilderpublic java.util.List<? extends SpeechRecognitionAlternativeOrBuilder> getAlternativesOrBuilderList()+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;getAlternativesOrBuilderList in interface SpeechRecognitionResultOrBuilderpublic SpeechRecognitionAlternative.Builder addAlternativesBuilder()+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;public SpeechRecognitionAlternative.Builder addAlternativesBuilder(int index)+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;public java.util.List<SpeechRecognitionAlternative.Builder> getAlternativesBuilderList()+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;public final SpeechRecognitionResult.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)+
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechRecognitionResult.Builder>public final SpeechRecognitionResult.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)+
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SpeechRecognitionResult.Builder>public final class SpeechRecognitionResult +extends com.google.protobuf.GeneratedMessageV3 +implements SpeechRecognitionResultOrBuilder+
+ A speech recognition result corresponding to a portion of the audio. ++ + Protobuf type
google.cloud.speech.v1p1beta1.SpeechRecognitionResult| Modifier and Type | +Class and Description | +
|---|---|
static class |
+SpeechRecognitionResult.Builder
+
+ A speech recognition result corresponding to a portion of the audio.
+ |
+
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | +Field and Description | +
|---|---|
static int |
+ALTERNATIVES_FIELD_NUMBER |
+
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | +Method and Description | +
|---|---|
boolean |
+equals(java.lang.Object obj) |
+
SpeechRecognitionAlternative |
+getAlternatives(int index)
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
int |
+getAlternativesCount()
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
java.util.List<SpeechRecognitionAlternative> |
+getAlternativesList()
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
SpeechRecognitionAlternativeOrBuilder |
+getAlternativesOrBuilder(int index)
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
java.util.List<? extends SpeechRecognitionAlternativeOrBuilder> |
+getAlternativesOrBuilderList()
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
static SpeechRecognitionResult |
+getDefaultInstance() |
+
SpeechRecognitionResult |
+getDefaultInstanceForType() |
+
static com.google.protobuf.Descriptors.Descriptor |
+getDescriptor() |
+
com.google.protobuf.Parser<SpeechRecognitionResult> |
+getParserForType() |
+
int |
+getSerializedSize() |
+
com.google.protobuf.UnknownFieldSet |
+getUnknownFields() |
+
int |
+hashCode() |
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
+internalGetFieldAccessorTable() |
+
boolean |
+isInitialized() |
+
static SpeechRecognitionResult.Builder |
+newBuilder() |
+
static SpeechRecognitionResult.Builder |
+newBuilder(SpeechRecognitionResult prototype) |
+
SpeechRecognitionResult.Builder |
+newBuilderForType() |
+
protected SpeechRecognitionResult.Builder |
+newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
+
static SpeechRecognitionResult |
+parseDelimitedFrom(java.io.InputStream input) |
+
static SpeechRecognitionResult |
+parseDelimitedFrom(java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static SpeechRecognitionResult |
+parseFrom(byte[] data) |
+
static SpeechRecognitionResult |
+parseFrom(byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static SpeechRecognitionResult |
+parseFrom(java.nio.ByteBuffer data) |
+
static SpeechRecognitionResult |
+parseFrom(java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static SpeechRecognitionResult |
+parseFrom(com.google.protobuf.ByteString data) |
+
static SpeechRecognitionResult |
+parseFrom(com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static SpeechRecognitionResult |
+parseFrom(com.google.protobuf.CodedInputStream input) |
+
static SpeechRecognitionResult |
+parseFrom(com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static SpeechRecognitionResult |
+parseFrom(java.io.InputStream input) |
+
static SpeechRecognitionResult |
+parseFrom(java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static com.google.protobuf.Parser<SpeechRecognitionResult> |
+parser() |
+
SpeechRecognitionResult.Builder |
+toBuilder() |
+
void |
+writeTo(com.google.protobuf.CodedOutputStream output) |
+
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int ALTERNATIVES_FIELD_NUMBER+
public final com.google.protobuf.UnknownFieldSet getUnknownFields()+
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()+
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public java.util.List<SpeechRecognitionAlternative> getAlternativesList()+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;getAlternativesList in interface SpeechRecognitionResultOrBuilderpublic java.util.List<? extends SpeechRecognitionAlternativeOrBuilder> getAlternativesOrBuilderList()+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;getAlternativesOrBuilderList in interface SpeechRecognitionResultOrBuilderpublic int getAlternativesCount()+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;getAlternativesCount in interface SpeechRecognitionResultOrBuilderpublic SpeechRecognitionAlternative getAlternatives(int index)+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;getAlternatives in interface SpeechRecognitionResultOrBuilderpublic SpeechRecognitionAlternativeOrBuilder getAlternativesOrBuilder(int index)+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;getAlternativesOrBuilder in interface SpeechRecognitionResultOrBuilderpublic final boolean isInitialized()+
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException+
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()+
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)+
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()+
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static SpeechRecognitionResult parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SpeechRecognitionResult parseFrom(java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SpeechRecognitionResult parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SpeechRecognitionResult parseFrom(com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SpeechRecognitionResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SpeechRecognitionResult parseFrom(byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SpeechRecognitionResult parseFrom(java.io.InputStream input) + throws java.io.IOException+
java.io.IOExceptionpublic static SpeechRecognitionResult parseFrom(java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
java.io.IOExceptionpublic static SpeechRecognitionResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException+
java.io.IOExceptionpublic static SpeechRecognitionResult parseDelimitedFrom(java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
java.io.IOExceptionpublic static SpeechRecognitionResult parseFrom(com.google.protobuf.CodedInputStream input) + throws java.io.IOException+
java.io.IOExceptionpublic static SpeechRecognitionResult parseFrom(com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
java.io.IOExceptionpublic SpeechRecognitionResult.Builder newBuilderForType()+
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static SpeechRecognitionResult.Builder newBuilder()+
public static SpeechRecognitionResult.Builder newBuilder(SpeechRecognitionResult prototype)+
public SpeechRecognitionResult.Builder toBuilder()+
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected SpeechRecognitionResult.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)+
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static SpeechRecognitionResult getDefaultInstance()+
public static com.google.protobuf.Parser<SpeechRecognitionResult> parser()+
public com.google.protobuf.Parser<SpeechRecognitionResult> getParserForType()+
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public SpeechRecognitionResult getDefaultInstanceForType()+
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic interface SpeechRecognitionResultOrBuilder
+extends com.google.protobuf.MessageOrBuilder
+| Modifier and Type | +Method and Description | +
|---|---|
SpeechRecognitionAlternative |
+getAlternatives(int index)
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
int |
+getAlternativesCount()
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
java.util.List<SpeechRecognitionAlternative> |
+getAlternativesList()
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
SpeechRecognitionAlternativeOrBuilder |
+getAlternativesOrBuilder(int index)
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
java.util.List<? extends SpeechRecognitionAlternativeOrBuilder> |
+getAlternativesOrBuilderList()
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofisInitializedjava.util.List<SpeechRecognitionAlternative> getAlternativesList()+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;SpeechRecognitionAlternative getAlternatives(int index)+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;int getAlternativesCount()+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;java.util.List<? extends SpeechRecognitionAlternativeOrBuilder> getAlternativesOrBuilderList()+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;SpeechRecognitionAlternativeOrBuilder getAlternativesOrBuilder(int index)+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;public static final class StreamingRecognitionConfig.Builder +extends com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognitionConfig.Builder> +implements StreamingRecognitionConfigOrBuilder+
+ Provides information to the recognizer that specifies how to process the + request. ++ + Protobuf type
google.cloud.speech.v1p1beta1.StreamingRecognitionConfig| Modifier and Type | +Method and Description | +
|---|---|
StreamingRecognitionConfig.Builder |
+addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) |
+
StreamingRecognitionConfig |
+build() |
+
StreamingRecognitionConfig |
+buildPartial() |
+
StreamingRecognitionConfig.Builder |
+clear() |
+
StreamingRecognitionConfig.Builder |
+clearConfig()
+
+ *Required* Provides information to the recognizer that specifies how to
+ process the request.
+ |
+
StreamingRecognitionConfig.Builder |
+clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
+
StreamingRecognitionConfig.Builder |
+clearInterimResults()
+
+ *Optional* If `true`, interim results (tentative hypotheses) may be
+ returned as they become available (these interim results are indicated with
+ the `is_final=false` flag).
+ |
+
StreamingRecognitionConfig.Builder |
+clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
+
StreamingRecognitionConfig.Builder |
+clearSingleUtterance()
+
+ *Optional* If `false` or omitted, the recognizer will perform continuous
+ recognition (continuing to wait for and process audio even if the user
+ pauses speaking) until the client closes the input stream (gRPC API) or
+ until the maximum time limit has been reached.
+ |
+
StreamingRecognitionConfig.Builder |
+clone() |
+
RecognitionConfig |
+getConfig()
+
+ *Required* Provides information to the recognizer that specifies how to
+ process the request.
+ |
+
RecognitionConfig.Builder |
+getConfigBuilder()
+
+ *Required* Provides information to the recognizer that specifies how to
+ process the request.
+ |
+
RecognitionConfigOrBuilder |
+getConfigOrBuilder()
+
+ *Required* Provides information to the recognizer that specifies how to
+ process the request.
+ |
+
StreamingRecognitionConfig |
+getDefaultInstanceForType() |
+
static com.google.protobuf.Descriptors.Descriptor |
+getDescriptor() |
+
com.google.protobuf.Descriptors.Descriptor |
+getDescriptorForType() |
+
boolean |
+getInterimResults()
+
+ *Optional* If `true`, interim results (tentative hypotheses) may be
+ returned as they become available (these interim results are indicated with
+ the `is_final=false` flag).
+ |
+
boolean |
+getSingleUtterance()
+
+ *Optional* If `false` or omitted, the recognizer will perform continuous
+ recognition (continuing to wait for and process audio even if the user
+ pauses speaking) until the client closes the input stream (gRPC API) or
+ until the maximum time limit has been reached.
+ |
+
boolean |
+hasConfig()
+
+ *Required* Provides information to the recognizer that specifies how to
+ process the request.
+ |
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
+internalGetFieldAccessorTable() |
+
boolean |
+isInitialized() |
+
StreamingRecognitionConfig.Builder |
+mergeConfig(RecognitionConfig value)
+
+ *Required* Provides information to the recognizer that specifies how to
+ process the request.
+ |
+
StreamingRecognitionConfig.Builder |
+mergeFrom(com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
StreamingRecognitionConfig.Builder |
+mergeFrom(com.google.protobuf.Message other) |
+
StreamingRecognitionConfig.Builder |
+mergeFrom(StreamingRecognitionConfig other) |
+
StreamingRecognitionConfig.Builder |
+mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
+
StreamingRecognitionConfig.Builder |
+setConfig(RecognitionConfig.Builder builderForValue)
+
+ *Required* Provides information to the recognizer that specifies how to
+ process the request.
+ |
+
StreamingRecognitionConfig.Builder |
+setConfig(RecognitionConfig value)
+
+ *Required* Provides information to the recognizer that specifies how to
+ process the request.
+ |
+
StreamingRecognitionConfig.Builder |
+setField(com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) |
+
StreamingRecognitionConfig.Builder |
+setInterimResults(boolean value)
+
+ *Optional* If `true`, interim results (tentative hypotheses) may be
+ returned as they become available (these interim results are indicated with
+ the `is_final=false` flag).
+ |
+
StreamingRecognitionConfig.Builder |
+setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
+ int index,
+ java.lang.Object value) |
+
StreamingRecognitionConfig.Builder |
+setSingleUtterance(boolean value)
+
+ *Optional* If `false` or omitted, the recognizer will perform continuous
+ recognition (continuing to wait for and process audio even if the user
+ pauses speaking) until the client closes the input stream (gRPC API) or
+ until the maximum time limit has been reached.
+ |
+
StreamingRecognitionConfig.Builder |
+setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
+
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()+
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognitionConfig.Builder>public StreamingRecognitionConfig.Builder clear()+
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognitionConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()+
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognitionConfig.Builder>public StreamingRecognitionConfig getDefaultInstanceForType()+
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic StreamingRecognitionConfig build()+
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic StreamingRecognitionConfig buildPartial()+
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic StreamingRecognitionConfig.Builder clone()+
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognitionConfig.Builder>public StreamingRecognitionConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value)+
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognitionConfig.Builder>public StreamingRecognitionConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)+
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognitionConfig.Builder>public StreamingRecognitionConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)+
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognitionConfig.Builder>public StreamingRecognitionConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value)+
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognitionConfig.Builder>public StreamingRecognitionConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value)+
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognitionConfig.Builder>public StreamingRecognitionConfig.Builder mergeFrom(com.google.protobuf.Message other)+
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<StreamingRecognitionConfig.Builder>public StreamingRecognitionConfig.Builder mergeFrom(StreamingRecognitionConfig other)+
public final boolean isInitialized()+
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognitionConfig.Builder>public StreamingRecognitionConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<StreamingRecognitionConfig.Builder>java.io.IOExceptionpublic boolean hasConfig()+
+ *Required* Provides information to the recognizer that specifies how to + process the request. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig config = 1;hasConfig in interface StreamingRecognitionConfigOrBuilderpublic RecognitionConfig getConfig()+
+ *Required* Provides information to the recognizer that specifies how to + process the request. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig config = 1;getConfig in interface StreamingRecognitionConfigOrBuilderpublic StreamingRecognitionConfig.Builder setConfig(RecognitionConfig value)+
+ *Required* Provides information to the recognizer that specifies how to + process the request. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig config = 1;public StreamingRecognitionConfig.Builder setConfig(RecognitionConfig.Builder builderForValue)+
+ *Required* Provides information to the recognizer that specifies how to + process the request. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig config = 1;public StreamingRecognitionConfig.Builder mergeConfig(RecognitionConfig value)+
+ *Required* Provides information to the recognizer that specifies how to + process the request. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig config = 1;public StreamingRecognitionConfig.Builder clearConfig()+
+ *Required* Provides information to the recognizer that specifies how to + process the request. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig config = 1;public RecognitionConfig.Builder getConfigBuilder()+
+ *Required* Provides information to the recognizer that specifies how to + process the request. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig config = 1;public RecognitionConfigOrBuilder getConfigOrBuilder()+
+ *Required* Provides information to the recognizer that specifies how to + process the request. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig config = 1;getConfigOrBuilder in interface StreamingRecognitionConfigOrBuilderpublic boolean getSingleUtterance()+
+ *Optional* If `false` or omitted, the recognizer will perform continuous + recognition (continuing to wait for and process audio even if the user + pauses speaking) until the client closes the input stream (gRPC API) or + until the maximum time limit has been reached. May return multiple + `StreamingRecognitionResult`s with the `is_final` flag set to `true`. + If `true`, the recognizer will detect a single spoken utterance. When it + detects that the user has paused or stopped speaking, it will return an + `END_OF_SINGLE_UTTERANCE` event and cease recognition. It will return no + more than one `StreamingRecognitionResult` with the `is_final` flag set to + `true`. ++ +
bool single_utterance = 2;getSingleUtterance in interface StreamingRecognitionConfigOrBuilderpublic StreamingRecognitionConfig.Builder setSingleUtterance(boolean value)+
+ *Optional* If `false` or omitted, the recognizer will perform continuous + recognition (continuing to wait for and process audio even if the user + pauses speaking) until the client closes the input stream (gRPC API) or + until the maximum time limit has been reached. May return multiple + `StreamingRecognitionResult`s with the `is_final` flag set to `true`. + If `true`, the recognizer will detect a single spoken utterance. When it + detects that the user has paused or stopped speaking, it will return an + `END_OF_SINGLE_UTTERANCE` event and cease recognition. It will return no + more than one `StreamingRecognitionResult` with the `is_final` flag set to + `true`. ++ +
bool single_utterance = 2;public StreamingRecognitionConfig.Builder clearSingleUtterance()+
+ *Optional* If `false` or omitted, the recognizer will perform continuous + recognition (continuing to wait for and process audio even if the user + pauses speaking) until the client closes the input stream (gRPC API) or + until the maximum time limit has been reached. May return multiple + `StreamingRecognitionResult`s with the `is_final` flag set to `true`. + If `true`, the recognizer will detect a single spoken utterance. When it + detects that the user has paused or stopped speaking, it will return an + `END_OF_SINGLE_UTTERANCE` event and cease recognition. It will return no + more than one `StreamingRecognitionResult` with the `is_final` flag set to + `true`. ++ +
bool single_utterance = 2;public boolean getInterimResults()+
+ *Optional* If `true`, interim results (tentative hypotheses) may be + returned as they become available (these interim results are indicated with + the `is_final=false` flag). + If `false` or omitted, only `is_final=true` result(s) are returned. ++ +
bool interim_results = 3;getInterimResults in interface StreamingRecognitionConfigOrBuilderpublic StreamingRecognitionConfig.Builder setInterimResults(boolean value)+
+ *Optional* If `true`, interim results (tentative hypotheses) may be + returned as they become available (these interim results are indicated with + the `is_final=false` flag). + If `false` or omitted, only `is_final=true` result(s) are returned. ++ +
bool interim_results = 3;public StreamingRecognitionConfig.Builder clearInterimResults()+
+ *Optional* If `true`, interim results (tentative hypotheses) may be + returned as they become available (these interim results are indicated with + the `is_final=false` flag). + If `false` or omitted, only `is_final=true` result(s) are returned. ++ +
bool interim_results = 3;public final StreamingRecognitionConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)+
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognitionConfig.Builder>public final StreamingRecognitionConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)+
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognitionConfig.Builder>public final class StreamingRecognitionConfig +extends com.google.protobuf.GeneratedMessageV3 +implements StreamingRecognitionConfigOrBuilder+
+ Provides information to the recognizer that specifies how to process the + request. ++ + Protobuf type
google.cloud.speech.v1p1beta1.StreamingRecognitionConfig| Modifier and Type | +Class and Description | +
|---|---|
static class |
+StreamingRecognitionConfig.Builder
+
+ Provides information to the recognizer that specifies how to process the
+ request.
+ |
+
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | +Field and Description | +
|---|---|
static int |
+CONFIG_FIELD_NUMBER |
+
static int |
+INTERIM_RESULTS_FIELD_NUMBER |
+
static int |
+SINGLE_UTTERANCE_FIELD_NUMBER |
+
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | +Method and Description | +
|---|---|
boolean |
+equals(java.lang.Object obj) |
+
RecognitionConfig |
+getConfig()
+
+ *Required* Provides information to the recognizer that specifies how to
+ process the request.
+ |
+
RecognitionConfigOrBuilder |
+getConfigOrBuilder()
+
+ *Required* Provides information to the recognizer that specifies how to
+ process the request.
+ |
+
static StreamingRecognitionConfig |
+getDefaultInstance() |
+
StreamingRecognitionConfig |
+getDefaultInstanceForType() |
+
static com.google.protobuf.Descriptors.Descriptor |
+getDescriptor() |
+
boolean |
+getInterimResults()
+
+ *Optional* If `true`, interim results (tentative hypotheses) may be
+ returned as they become available (these interim results are indicated with
+ the `is_final=false` flag).
+ |
+
com.google.protobuf.Parser<StreamingRecognitionConfig> |
+getParserForType() |
+
int |
+getSerializedSize() |
+
boolean |
+getSingleUtterance()
+
+ *Optional* If `false` or omitted, the recognizer will perform continuous
+ recognition (continuing to wait for and process audio even if the user
+ pauses speaking) until the client closes the input stream (gRPC API) or
+ until the maximum time limit has been reached.
+ |
+
com.google.protobuf.UnknownFieldSet |
+getUnknownFields() |
+
boolean |
+hasConfig()
+
+ *Required* Provides information to the recognizer that specifies how to
+ process the request.
+ |
+
int |
+hashCode() |
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
+internalGetFieldAccessorTable() |
+
boolean |
+isInitialized() |
+
static StreamingRecognitionConfig.Builder |
+newBuilder() |
+
static StreamingRecognitionConfig.Builder |
+newBuilder(StreamingRecognitionConfig prototype) |
+
StreamingRecognitionConfig.Builder |
+newBuilderForType() |
+
protected StreamingRecognitionConfig.Builder |
+newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
+
static StreamingRecognitionConfig |
+parseDelimitedFrom(java.io.InputStream input) |
+
static StreamingRecognitionConfig |
+parseDelimitedFrom(java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static StreamingRecognitionConfig |
+parseFrom(byte[] data) |
+
static StreamingRecognitionConfig |
+parseFrom(byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static StreamingRecognitionConfig |
+parseFrom(java.nio.ByteBuffer data) |
+
static StreamingRecognitionConfig |
+parseFrom(java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static StreamingRecognitionConfig |
+parseFrom(com.google.protobuf.ByteString data) |
+
static StreamingRecognitionConfig |
+parseFrom(com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static StreamingRecognitionConfig |
+parseFrom(com.google.protobuf.CodedInputStream input) |
+
static StreamingRecognitionConfig |
+parseFrom(com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static StreamingRecognitionConfig |
+parseFrom(java.io.InputStream input) |
+
static StreamingRecognitionConfig |
+parseFrom(java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static com.google.protobuf.Parser<StreamingRecognitionConfig> |
+parser() |
+
StreamingRecognitionConfig.Builder |
+toBuilder() |
+
void |
+writeTo(com.google.protobuf.CodedOutputStream output) |
+
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int CONFIG_FIELD_NUMBER+
public static final int SINGLE_UTTERANCE_FIELD_NUMBER+
public static final int INTERIM_RESULTS_FIELD_NUMBER+
public final com.google.protobuf.UnknownFieldSet getUnknownFields()+
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()+
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasConfig()+
+ *Required* Provides information to the recognizer that specifies how to + process the request. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig config = 1;hasConfig in interface StreamingRecognitionConfigOrBuilderpublic RecognitionConfig getConfig()+
+ *Required* Provides information to the recognizer that specifies how to + process the request. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig config = 1;getConfig in interface StreamingRecognitionConfigOrBuilderpublic RecognitionConfigOrBuilder getConfigOrBuilder()+
+ *Required* Provides information to the recognizer that specifies how to + process the request. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig config = 1;getConfigOrBuilder in interface StreamingRecognitionConfigOrBuilderpublic boolean getSingleUtterance()+
+ *Optional* If `false` or omitted, the recognizer will perform continuous + recognition (continuing to wait for and process audio even if the user + pauses speaking) until the client closes the input stream (gRPC API) or + until the maximum time limit has been reached. May return multiple + `StreamingRecognitionResult`s with the `is_final` flag set to `true`. + If `true`, the recognizer will detect a single spoken utterance. When it + detects that the user has paused or stopped speaking, it will return an + `END_OF_SINGLE_UTTERANCE` event and cease recognition. It will return no + more than one `StreamingRecognitionResult` with the `is_final` flag set to + `true`. ++ +
bool single_utterance = 2;getSingleUtterance in interface StreamingRecognitionConfigOrBuilderpublic boolean getInterimResults()+
+ *Optional* If `true`, interim results (tentative hypotheses) may be + returned as they become available (these interim results are indicated with + the `is_final=false` flag). + If `false` or omitted, only `is_final=true` result(s) are returned. ++ +
bool interim_results = 3;getInterimResults in interface StreamingRecognitionConfigOrBuilderpublic final boolean isInitialized()+
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException+
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()+
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)+
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()+
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static StreamingRecognitionConfig parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamingRecognitionConfig parseFrom(java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamingRecognitionConfig parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamingRecognitionConfig parseFrom(com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamingRecognitionConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamingRecognitionConfig parseFrom(byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamingRecognitionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException+
java.io.IOExceptionpublic static StreamingRecognitionConfig parseFrom(java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
java.io.IOExceptionpublic static StreamingRecognitionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException+
java.io.IOExceptionpublic static StreamingRecognitionConfig parseDelimitedFrom(java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
java.io.IOExceptionpublic static StreamingRecognitionConfig parseFrom(com.google.protobuf.CodedInputStream input) + throws java.io.IOException+
java.io.IOExceptionpublic static StreamingRecognitionConfig parseFrom(com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
java.io.IOExceptionpublic StreamingRecognitionConfig.Builder newBuilderForType()+
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static StreamingRecognitionConfig.Builder newBuilder()+
public static StreamingRecognitionConfig.Builder newBuilder(StreamingRecognitionConfig prototype)+
public StreamingRecognitionConfig.Builder toBuilder()+
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected StreamingRecognitionConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)+
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static StreamingRecognitionConfig getDefaultInstance()+
public static com.google.protobuf.Parser<StreamingRecognitionConfig> parser()+
public com.google.protobuf.Parser<StreamingRecognitionConfig> getParserForType()+
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public StreamingRecognitionConfig getDefaultInstanceForType()+
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic interface StreamingRecognitionConfigOrBuilder
+extends com.google.protobuf.MessageOrBuilder
+| Modifier and Type | +Method and Description | +
|---|---|
RecognitionConfig |
+getConfig()
+
+ *Required* Provides information to the recognizer that specifies how to
+ process the request.
+ |
+
RecognitionConfigOrBuilder |
+getConfigOrBuilder()
+
+ *Required* Provides information to the recognizer that specifies how to
+ process the request.
+ |
+
boolean |
+getInterimResults()
+
+ *Optional* If `true`, interim results (tentative hypotheses) may be
+ returned as they become available (these interim results are indicated with
+ the `is_final=false` flag).
+ |
+
boolean |
+getSingleUtterance()
+
+ *Optional* If `false` or omitted, the recognizer will perform continuous
+ recognition (continuing to wait for and process audio even if the user
+ pauses speaking) until the client closes the input stream (gRPC API) or
+ until the maximum time limit has been reached.
+ |
+
boolean |
+hasConfig()
+
+ *Required* Provides information to the recognizer that specifies how to
+ process the request.
+ |
+
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofisInitializedboolean hasConfig()+
+ *Required* Provides information to the recognizer that specifies how to + process the request. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig config = 1;RecognitionConfig getConfig()+
+ *Required* Provides information to the recognizer that specifies how to + process the request. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig config = 1;RecognitionConfigOrBuilder getConfigOrBuilder()+
+ *Required* Provides information to the recognizer that specifies how to + process the request. ++ +
.google.cloud.speech.v1p1beta1.RecognitionConfig config = 1;boolean getSingleUtterance()+
+ *Optional* If `false` or omitted, the recognizer will perform continuous + recognition (continuing to wait for and process audio even if the user + pauses speaking) until the client closes the input stream (gRPC API) or + until the maximum time limit has been reached. May return multiple + `StreamingRecognitionResult`s with the `is_final` flag set to `true`. + If `true`, the recognizer will detect a single spoken utterance. When it + detects that the user has paused or stopped speaking, it will return an + `END_OF_SINGLE_UTTERANCE` event and cease recognition. It will return no + more than one `StreamingRecognitionResult` with the `is_final` flag set to + `true`. ++ +
bool single_utterance = 2;boolean getInterimResults()+
+ *Optional* If `true`, interim results (tentative hypotheses) may be + returned as they become available (these interim results are indicated with + the `is_final=false` flag). + If `false` or omitted, only `is_final=true` result(s) are returned. ++ +
bool interim_results = 3;public static final class StreamingRecognitionResult.Builder +extends com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognitionResult.Builder> +implements StreamingRecognitionResultOrBuilder+
+ A streaming speech recognition result corresponding to a portion of the audio + that is currently being processed. ++ + Protobuf type
google.cloud.speech.v1p1beta1.StreamingRecognitionResult| Modifier and Type | +Method and Description | +
|---|---|
StreamingRecognitionResult.Builder |
+addAllAlternatives(java.lang.Iterable<? extends SpeechRecognitionAlternative> values)
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
StreamingRecognitionResult.Builder |
+addAlternatives(int index,
+ SpeechRecognitionAlternative.Builder builderForValue)
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
StreamingRecognitionResult.Builder |
+addAlternatives(int index,
+ SpeechRecognitionAlternative value)
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
StreamingRecognitionResult.Builder |
+addAlternatives(SpeechRecognitionAlternative.Builder builderForValue)
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
StreamingRecognitionResult.Builder |
+addAlternatives(SpeechRecognitionAlternative value)
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
SpeechRecognitionAlternative.Builder |
+addAlternativesBuilder()
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
SpeechRecognitionAlternative.Builder |
+addAlternativesBuilder(int index)
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
StreamingRecognitionResult.Builder |
+addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) |
+
StreamingRecognitionResult |
+build() |
+
StreamingRecognitionResult |
+buildPartial() |
+
StreamingRecognitionResult.Builder |
+clear() |
+
StreamingRecognitionResult.Builder |
+clearAlternatives()
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
StreamingRecognitionResult.Builder |
+clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
+
StreamingRecognitionResult.Builder |
+clearIsFinal()
+
+ *Output-only* If `false`, this `StreamingRecognitionResult` represents an
+ interim result that may change.
+ |
+
StreamingRecognitionResult.Builder |
+clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
+
StreamingRecognitionResult.Builder |
+clearStability()
+
+ *Output-only* An estimate of the likelihood that the recognizer will not
+ change its guess about this interim result.
+ |
+
StreamingRecognitionResult.Builder |
+clone() |
+
SpeechRecognitionAlternative |
+getAlternatives(int index)
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
SpeechRecognitionAlternative.Builder |
+getAlternativesBuilder(int index)
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
java.util.List<SpeechRecognitionAlternative.Builder> |
+getAlternativesBuilderList()
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
int |
+getAlternativesCount()
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
java.util.List<SpeechRecognitionAlternative> |
+getAlternativesList()
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
SpeechRecognitionAlternativeOrBuilder |
+getAlternativesOrBuilder(int index)
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
java.util.List<? extends SpeechRecognitionAlternativeOrBuilder> |
+getAlternativesOrBuilderList()
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
StreamingRecognitionResult |
+getDefaultInstanceForType() |
+
static com.google.protobuf.Descriptors.Descriptor |
+getDescriptor() |
+
com.google.protobuf.Descriptors.Descriptor |
+getDescriptorForType() |
+
boolean |
+getIsFinal()
+
+ *Output-only* If `false`, this `StreamingRecognitionResult` represents an
+ interim result that may change.
+ |
+
float |
+getStability()
+
+ *Output-only* An estimate of the likelihood that the recognizer will not
+ change its guess about this interim result.
+ |
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
+internalGetFieldAccessorTable() |
+
boolean |
+isInitialized() |
+
StreamingRecognitionResult.Builder |
+mergeFrom(com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
StreamingRecognitionResult.Builder |
+mergeFrom(com.google.protobuf.Message other) |
+
StreamingRecognitionResult.Builder |
+mergeFrom(StreamingRecognitionResult other) |
+
StreamingRecognitionResult.Builder |
+mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
+
StreamingRecognitionResult.Builder |
+removeAlternatives(int index)
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
StreamingRecognitionResult.Builder |
+setAlternatives(int index,
+ SpeechRecognitionAlternative.Builder builderForValue)
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
StreamingRecognitionResult.Builder |
+setAlternatives(int index,
+ SpeechRecognitionAlternative value)
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
StreamingRecognitionResult.Builder |
+setField(com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) |
+
StreamingRecognitionResult.Builder |
+setIsFinal(boolean value)
+
+ *Output-only* If `false`, this `StreamingRecognitionResult` represents an
+ interim result that may change.
+ |
+
StreamingRecognitionResult.Builder |
+setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
+ int index,
+ java.lang.Object value) |
+
StreamingRecognitionResult.Builder |
+setStability(float value)
+
+ *Output-only* An estimate of the likelihood that the recognizer will not
+ change its guess about this interim result.
+ |
+
StreamingRecognitionResult.Builder |
+setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
+
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()+
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognitionResult.Builder>public StreamingRecognitionResult.Builder clear()+
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognitionResult.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()+
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognitionResult.Builder>public StreamingRecognitionResult getDefaultInstanceForType()+
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic StreamingRecognitionResult build()+
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic StreamingRecognitionResult buildPartial()+
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic StreamingRecognitionResult.Builder clone()+
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognitionResult.Builder>public StreamingRecognitionResult.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value)+
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognitionResult.Builder>public StreamingRecognitionResult.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)+
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognitionResult.Builder>public StreamingRecognitionResult.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)+
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognitionResult.Builder>public StreamingRecognitionResult.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value)+
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognitionResult.Builder>public StreamingRecognitionResult.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value)+
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognitionResult.Builder>public StreamingRecognitionResult.Builder mergeFrom(com.google.protobuf.Message other)+
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<StreamingRecognitionResult.Builder>public StreamingRecognitionResult.Builder mergeFrom(StreamingRecognitionResult other)+
public final boolean isInitialized()+
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognitionResult.Builder>public StreamingRecognitionResult.Builder mergeFrom(com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<StreamingRecognitionResult.Builder>java.io.IOExceptionpublic java.util.List<SpeechRecognitionAlternative> getAlternativesList()+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;getAlternativesList in interface StreamingRecognitionResultOrBuilderpublic int getAlternativesCount()+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;getAlternativesCount in interface StreamingRecognitionResultOrBuilderpublic SpeechRecognitionAlternative getAlternatives(int index)+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;getAlternatives in interface StreamingRecognitionResultOrBuilderpublic StreamingRecognitionResult.Builder setAlternatives(int index, + SpeechRecognitionAlternative value)+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;public StreamingRecognitionResult.Builder setAlternatives(int index, + SpeechRecognitionAlternative.Builder builderForValue)+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;public StreamingRecognitionResult.Builder addAlternatives(SpeechRecognitionAlternative value)+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;public StreamingRecognitionResult.Builder addAlternatives(int index, + SpeechRecognitionAlternative value)+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;public StreamingRecognitionResult.Builder addAlternatives(SpeechRecognitionAlternative.Builder builderForValue)+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;public StreamingRecognitionResult.Builder addAlternatives(int index, + SpeechRecognitionAlternative.Builder builderForValue)+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;public StreamingRecognitionResult.Builder addAllAlternatives(java.lang.Iterable<? extends SpeechRecognitionAlternative> values)+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;public StreamingRecognitionResult.Builder clearAlternatives()+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;public StreamingRecognitionResult.Builder removeAlternatives(int index)+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;public SpeechRecognitionAlternative.Builder getAlternativesBuilder(int index)+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;public SpeechRecognitionAlternativeOrBuilder getAlternativesOrBuilder(int index)+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;getAlternativesOrBuilder in interface StreamingRecognitionResultOrBuilderpublic java.util.List<? extends SpeechRecognitionAlternativeOrBuilder> getAlternativesOrBuilderList()+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;getAlternativesOrBuilderList in interface StreamingRecognitionResultOrBuilderpublic SpeechRecognitionAlternative.Builder addAlternativesBuilder()+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;public SpeechRecognitionAlternative.Builder addAlternativesBuilder(int index)+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;public java.util.List<SpeechRecognitionAlternative.Builder> getAlternativesBuilderList()+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;public boolean getIsFinal()+
+ *Output-only* If `false`, this `StreamingRecognitionResult` represents an + interim result that may change. If `true`, this is the final time the + speech service will return this particular `StreamingRecognitionResult`, + the recognizer will not return any further hypotheses for this portion of + the transcript and corresponding audio. ++ +
bool is_final = 2;getIsFinal in interface StreamingRecognitionResultOrBuilderpublic StreamingRecognitionResult.Builder setIsFinal(boolean value)+
+ *Output-only* If `false`, this `StreamingRecognitionResult` represents an + interim result that may change. If `true`, this is the final time the + speech service will return this particular `StreamingRecognitionResult`, + the recognizer will not return any further hypotheses for this portion of + the transcript and corresponding audio. ++ +
bool is_final = 2;public StreamingRecognitionResult.Builder clearIsFinal()+
+ *Output-only* If `false`, this `StreamingRecognitionResult` represents an + interim result that may change. If `true`, this is the final time the + speech service will return this particular `StreamingRecognitionResult`, + the recognizer will not return any further hypotheses for this portion of + the transcript and corresponding audio. ++ +
bool is_final = 2;public float getStability()+
+ *Output-only* An estimate of the likelihood that the recognizer will not + change its guess about this interim result. Values range from 0.0 + (completely unstable) to 1.0 (completely stable). + This field is only provided for interim results (`is_final=false`). + The default of 0.0 is a sentinel value indicating `stability` was not set. ++ +
float stability = 3;getStability in interface StreamingRecognitionResultOrBuilderpublic StreamingRecognitionResult.Builder setStability(float value)+
+ *Output-only* An estimate of the likelihood that the recognizer will not + change its guess about this interim result. Values range from 0.0 + (completely unstable) to 1.0 (completely stable). + This field is only provided for interim results (`is_final=false`). + The default of 0.0 is a sentinel value indicating `stability` was not set. ++ +
float stability = 3;public StreamingRecognitionResult.Builder clearStability()+
+ *Output-only* An estimate of the likelihood that the recognizer will not + change its guess about this interim result. Values range from 0.0 + (completely unstable) to 1.0 (completely stable). + This field is only provided for interim results (`is_final=false`). + The default of 0.0 is a sentinel value indicating `stability` was not set. ++ +
float stability = 3;public final StreamingRecognitionResult.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)+
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognitionResult.Builder>public final StreamingRecognitionResult.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)+
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognitionResult.Builder>public final class StreamingRecognitionResult +extends com.google.protobuf.GeneratedMessageV3 +implements StreamingRecognitionResultOrBuilder+
+ A streaming speech recognition result corresponding to a portion of the audio + that is currently being processed. ++ + Protobuf type
google.cloud.speech.v1p1beta1.StreamingRecognitionResult| Modifier and Type | +Class and Description | +
|---|---|
static class |
+StreamingRecognitionResult.Builder
+
+ A streaming speech recognition result corresponding to a portion of the audio
+ that is currently being processed.
+ |
+
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | +Field and Description | +
|---|---|
static int |
+ALTERNATIVES_FIELD_NUMBER |
+
static int |
+IS_FINAL_FIELD_NUMBER |
+
static int |
+STABILITY_FIELD_NUMBER |
+
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | +Method and Description | +
|---|---|
boolean |
+equals(java.lang.Object obj) |
+
SpeechRecognitionAlternative |
+getAlternatives(int index)
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
int |
+getAlternativesCount()
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
java.util.List<SpeechRecognitionAlternative> |
+getAlternativesList()
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
SpeechRecognitionAlternativeOrBuilder |
+getAlternativesOrBuilder(int index)
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
java.util.List<? extends SpeechRecognitionAlternativeOrBuilder> |
+getAlternativesOrBuilderList()
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
static StreamingRecognitionResult |
+getDefaultInstance() |
+
StreamingRecognitionResult |
+getDefaultInstanceForType() |
+
static com.google.protobuf.Descriptors.Descriptor |
+getDescriptor() |
+
boolean |
+getIsFinal()
+
+ *Output-only* If `false`, this `StreamingRecognitionResult` represents an
+ interim result that may change.
+ |
+
com.google.protobuf.Parser<StreamingRecognitionResult> |
+getParserForType() |
+
int |
+getSerializedSize() |
+
float |
+getStability()
+
+ *Output-only* An estimate of the likelihood that the recognizer will not
+ change its guess about this interim result.
+ |
+
com.google.protobuf.UnknownFieldSet |
+getUnknownFields() |
+
int |
+hashCode() |
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
+internalGetFieldAccessorTable() |
+
boolean |
+isInitialized() |
+
static StreamingRecognitionResult.Builder |
+newBuilder() |
+
static StreamingRecognitionResult.Builder |
+newBuilder(StreamingRecognitionResult prototype) |
+
StreamingRecognitionResult.Builder |
+newBuilderForType() |
+
protected StreamingRecognitionResult.Builder |
+newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
+
static StreamingRecognitionResult |
+parseDelimitedFrom(java.io.InputStream input) |
+
static StreamingRecognitionResult |
+parseDelimitedFrom(java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static StreamingRecognitionResult |
+parseFrom(byte[] data) |
+
static StreamingRecognitionResult |
+parseFrom(byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static StreamingRecognitionResult |
+parseFrom(java.nio.ByteBuffer data) |
+
static StreamingRecognitionResult |
+parseFrom(java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static StreamingRecognitionResult |
+parseFrom(com.google.protobuf.ByteString data) |
+
static StreamingRecognitionResult |
+parseFrom(com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static StreamingRecognitionResult |
+parseFrom(com.google.protobuf.CodedInputStream input) |
+
static StreamingRecognitionResult |
+parseFrom(com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static StreamingRecognitionResult |
+parseFrom(java.io.InputStream input) |
+
static StreamingRecognitionResult |
+parseFrom(java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static com.google.protobuf.Parser<StreamingRecognitionResult> |
+parser() |
+
StreamingRecognitionResult.Builder |
+toBuilder() |
+
void |
+writeTo(com.google.protobuf.CodedOutputStream output) |
+
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int ALTERNATIVES_FIELD_NUMBER+
public static final int IS_FINAL_FIELD_NUMBER+
public static final int STABILITY_FIELD_NUMBER+
public final com.google.protobuf.UnknownFieldSet getUnknownFields()+
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()+
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public java.util.List<SpeechRecognitionAlternative> getAlternativesList()+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;getAlternativesList in interface StreamingRecognitionResultOrBuilderpublic java.util.List<? extends SpeechRecognitionAlternativeOrBuilder> getAlternativesOrBuilderList()+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;getAlternativesOrBuilderList in interface StreamingRecognitionResultOrBuilderpublic int getAlternativesCount()+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;getAlternativesCount in interface StreamingRecognitionResultOrBuilderpublic SpeechRecognitionAlternative getAlternatives(int index)+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;getAlternatives in interface StreamingRecognitionResultOrBuilderpublic SpeechRecognitionAlternativeOrBuilder getAlternativesOrBuilder(int index)+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;getAlternativesOrBuilder in interface StreamingRecognitionResultOrBuilderpublic boolean getIsFinal()+
+ *Output-only* If `false`, this `StreamingRecognitionResult` represents an + interim result that may change. If `true`, this is the final time the + speech service will return this particular `StreamingRecognitionResult`, + the recognizer will not return any further hypotheses for this portion of + the transcript and corresponding audio. ++ +
bool is_final = 2;getIsFinal in interface StreamingRecognitionResultOrBuilderpublic float getStability()+
+ *Output-only* An estimate of the likelihood that the recognizer will not + change its guess about this interim result. Values range from 0.0 + (completely unstable) to 1.0 (completely stable). + This field is only provided for interim results (`is_final=false`). + The default of 0.0 is a sentinel value indicating `stability` was not set. ++ +
float stability = 3;getStability in interface StreamingRecognitionResultOrBuilderpublic final boolean isInitialized()+
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException+
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()+
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)+
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()+
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static StreamingRecognitionResult parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamingRecognitionResult parseFrom(java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamingRecognitionResult parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamingRecognitionResult parseFrom(com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamingRecognitionResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamingRecognitionResult parseFrom(byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamingRecognitionResult parseFrom(java.io.InputStream input) + throws java.io.IOException+
java.io.IOExceptionpublic static StreamingRecognitionResult parseFrom(java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
java.io.IOExceptionpublic static StreamingRecognitionResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException+
java.io.IOExceptionpublic static StreamingRecognitionResult parseDelimitedFrom(java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
java.io.IOExceptionpublic static StreamingRecognitionResult parseFrom(com.google.protobuf.CodedInputStream input) + throws java.io.IOException+
java.io.IOExceptionpublic static StreamingRecognitionResult parseFrom(com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
java.io.IOExceptionpublic StreamingRecognitionResult.Builder newBuilderForType()+
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static StreamingRecognitionResult.Builder newBuilder()+
public static StreamingRecognitionResult.Builder newBuilder(StreamingRecognitionResult prototype)+
public StreamingRecognitionResult.Builder toBuilder()+
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected StreamingRecognitionResult.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)+
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static StreamingRecognitionResult getDefaultInstance()+
public static com.google.protobuf.Parser<StreamingRecognitionResult> parser()+
public com.google.protobuf.Parser<StreamingRecognitionResult> getParserForType()+
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public StreamingRecognitionResult getDefaultInstanceForType()+
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic interface StreamingRecognitionResultOrBuilder
+extends com.google.protobuf.MessageOrBuilder
+| Modifier and Type | +Method and Description | +
|---|---|
SpeechRecognitionAlternative |
+getAlternatives(int index)
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
int |
+getAlternativesCount()
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
java.util.List<SpeechRecognitionAlternative> |
+getAlternativesList()
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
SpeechRecognitionAlternativeOrBuilder |
+getAlternativesOrBuilder(int index)
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
java.util.List<? extends SpeechRecognitionAlternativeOrBuilder> |
+getAlternativesOrBuilderList()
+
+ *Output-only* May contain one or more recognition hypotheses (up to the
+ maximum specified in `max_alternatives`).
+ |
+
boolean |
+getIsFinal()
+
+ *Output-only* If `false`, this `StreamingRecognitionResult` represents an
+ interim result that may change.
+ |
+
float |
+getStability()
+
+ *Output-only* An estimate of the likelihood that the recognizer will not
+ change its guess about this interim result.
+ |
+
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofisInitializedjava.util.List<SpeechRecognitionAlternative> getAlternativesList()+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;SpeechRecognitionAlternative getAlternatives(int index)+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;int getAlternativesCount()+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;java.util.List<? extends SpeechRecognitionAlternativeOrBuilder> getAlternativesOrBuilderList()+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;SpeechRecognitionAlternativeOrBuilder getAlternativesOrBuilder(int index)+
+ *Output-only* May contain one or more recognition hypotheses (up to the + maximum specified in `max_alternatives`). + These alternatives are ordered in terms of accuracy, with the top (first) + alternative being the most probable, as ranked by the recognizer. ++ +
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;boolean getIsFinal()+
+ *Output-only* If `false`, this `StreamingRecognitionResult` represents an + interim result that may change. If `true`, this is the final time the + speech service will return this particular `StreamingRecognitionResult`, + the recognizer will not return any further hypotheses for this portion of + the transcript and corresponding audio. ++ +
bool is_final = 2;float getStability()+
+ *Output-only* An estimate of the likelihood that the recognizer will not + change its guess about this interim result. Values range from 0.0 + (completely unstable) to 1.0 (completely stable). + This field is only provided for interim results (`is_final=false`). + The default of 0.0 is a sentinel value indicating `stability` was not set. ++ +
float stability = 3;public static final class StreamingRecognizeRequest.Builder +extends com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognizeRequest.Builder> +implements StreamingRecognizeRequestOrBuilder+
+ The top-level message sent by the client for the `StreamingRecognize` method. + Multiple `StreamingRecognizeRequest` messages are sent. The first message + must contain a `streaming_config` message and must not contain `audio` data. + All subsequent messages must contain `audio` data and must not contain a + `streaming_config` message. ++ + Protobuf type
google.cloud.speech.v1p1beta1.StreamingRecognizeRequest| Modifier and Type | +Method and Description | +
|---|---|
StreamingRecognizeRequest.Builder |
+addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) |
+
StreamingRecognizeRequest |
+build() |
+
StreamingRecognizeRequest |
+buildPartial() |
+
StreamingRecognizeRequest.Builder |
+clear() |
+
StreamingRecognizeRequest.Builder |
+clearAudioContent()
+
+ The audio data to be recognized.
+ |
+
StreamingRecognizeRequest.Builder |
+clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
+
StreamingRecognizeRequest.Builder |
+clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
+
StreamingRecognizeRequest.Builder |
+clearStreamingConfig()
+
+ Provides information to the recognizer that specifies how to process the
+ request.
+ |
+
StreamingRecognizeRequest.Builder |
+clearStreamingRequest() |
+
StreamingRecognizeRequest.Builder |
+clone() |
+
com.google.protobuf.ByteString |
+getAudioContent()
+
+ The audio data to be recognized.
+ |
+
StreamingRecognizeRequest |
+getDefaultInstanceForType() |
+
static com.google.protobuf.Descriptors.Descriptor |
+getDescriptor() |
+
com.google.protobuf.Descriptors.Descriptor |
+getDescriptorForType() |
+
StreamingRecognitionConfig |
+getStreamingConfig()
+
+ Provides information to the recognizer that specifies how to process the
+ request.
+ |
+
StreamingRecognitionConfig.Builder |
+getStreamingConfigBuilder()
+
+ Provides information to the recognizer that specifies how to process the
+ request.
+ |
+
StreamingRecognitionConfigOrBuilder |
+getStreamingConfigOrBuilder()
+
+ Provides information to the recognizer that specifies how to process the
+ request.
+ |
+
StreamingRecognizeRequest.StreamingRequestCase |
+getStreamingRequestCase() |
+
boolean |
+hasStreamingConfig()
+
+ Provides information to the recognizer that specifies how to process the
+ request.
+ |
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
+internalGetFieldAccessorTable() |
+
boolean |
+isInitialized() |
+
StreamingRecognizeRequest.Builder |
+mergeFrom(com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
StreamingRecognizeRequest.Builder |
+mergeFrom(com.google.protobuf.Message other) |
+
StreamingRecognizeRequest.Builder |
+mergeFrom(StreamingRecognizeRequest other) |
+
StreamingRecognizeRequest.Builder |
+mergeStreamingConfig(StreamingRecognitionConfig value)
+
+ Provides information to the recognizer that specifies how to process the
+ request.
+ |
+
StreamingRecognizeRequest.Builder |
+mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
+
StreamingRecognizeRequest.Builder |
+setAudioContent(com.google.protobuf.ByteString value)
+
+ The audio data to be recognized.
+ |
+
StreamingRecognizeRequest.Builder |
+setField(com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) |
+
StreamingRecognizeRequest.Builder |
+setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
+ int index,
+ java.lang.Object value) |
+
StreamingRecognizeRequest.Builder |
+setStreamingConfig(StreamingRecognitionConfig.Builder builderForValue)
+
+ Provides information to the recognizer that specifies how to process the
+ request.
+ |
+
StreamingRecognizeRequest.Builder |
+setStreamingConfig(StreamingRecognitionConfig value)
+
+ Provides information to the recognizer that specifies how to process the
+ request.
+ |
+
StreamingRecognizeRequest.Builder |
+setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
+
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()+
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognizeRequest.Builder>public StreamingRecognizeRequest.Builder clear()+
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognizeRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()+
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognizeRequest.Builder>public StreamingRecognizeRequest getDefaultInstanceForType()+
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic StreamingRecognizeRequest build()+
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic StreamingRecognizeRequest buildPartial()+
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic StreamingRecognizeRequest.Builder clone()+
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognizeRequest.Builder>public StreamingRecognizeRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value)+
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognizeRequest.Builder>public StreamingRecognizeRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)+
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognizeRequest.Builder>public StreamingRecognizeRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)+
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognizeRequest.Builder>public StreamingRecognizeRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value)+
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognizeRequest.Builder>public StreamingRecognizeRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value)+
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognizeRequest.Builder>public StreamingRecognizeRequest.Builder mergeFrom(com.google.protobuf.Message other)+
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<StreamingRecognizeRequest.Builder>public StreamingRecognizeRequest.Builder mergeFrom(StreamingRecognizeRequest other)+
public final boolean isInitialized()+
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognizeRequest.Builder>public StreamingRecognizeRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<StreamingRecognizeRequest.Builder>java.io.IOExceptionpublic StreamingRecognizeRequest.StreamingRequestCase getStreamingRequestCase()+
getStreamingRequestCase in interface StreamingRecognizeRequestOrBuilderpublic StreamingRecognizeRequest.Builder clearStreamingRequest()+
public boolean hasStreamingConfig()+
+ Provides information to the recognizer that specifies how to process the + request. The first `StreamingRecognizeRequest` message must contain a + `streaming_config` message. ++ +
.google.cloud.speech.v1p1beta1.StreamingRecognitionConfig streaming_config = 1;hasStreamingConfig in interface StreamingRecognizeRequestOrBuilderpublic StreamingRecognitionConfig getStreamingConfig()+
+ Provides information to the recognizer that specifies how to process the + request. The first `StreamingRecognizeRequest` message must contain a + `streaming_config` message. ++ +
.google.cloud.speech.v1p1beta1.StreamingRecognitionConfig streaming_config = 1;getStreamingConfig in interface StreamingRecognizeRequestOrBuilderpublic StreamingRecognizeRequest.Builder setStreamingConfig(StreamingRecognitionConfig value)+
+ Provides information to the recognizer that specifies how to process the + request. The first `StreamingRecognizeRequest` message must contain a + `streaming_config` message. ++ +
.google.cloud.speech.v1p1beta1.StreamingRecognitionConfig streaming_config = 1;public StreamingRecognizeRequest.Builder setStreamingConfig(StreamingRecognitionConfig.Builder builderForValue)+
+ Provides information to the recognizer that specifies how to process the + request. The first `StreamingRecognizeRequest` message must contain a + `streaming_config` message. ++ +
.google.cloud.speech.v1p1beta1.StreamingRecognitionConfig streaming_config = 1;public StreamingRecognizeRequest.Builder mergeStreamingConfig(StreamingRecognitionConfig value)+
+ Provides information to the recognizer that specifies how to process the + request. The first `StreamingRecognizeRequest` message must contain a + `streaming_config` message. ++ +
.google.cloud.speech.v1p1beta1.StreamingRecognitionConfig streaming_config = 1;public StreamingRecognizeRequest.Builder clearStreamingConfig()+
+ Provides information to the recognizer that specifies how to process the + request. The first `StreamingRecognizeRequest` message must contain a + `streaming_config` message. ++ +
.google.cloud.speech.v1p1beta1.StreamingRecognitionConfig streaming_config = 1;public StreamingRecognitionConfig.Builder getStreamingConfigBuilder()+
+ Provides information to the recognizer that specifies how to process the + request. The first `StreamingRecognizeRequest` message must contain a + `streaming_config` message. ++ +
.google.cloud.speech.v1p1beta1.StreamingRecognitionConfig streaming_config = 1;public StreamingRecognitionConfigOrBuilder getStreamingConfigOrBuilder()+
+ Provides information to the recognizer that specifies how to process the + request. The first `StreamingRecognizeRequest` message must contain a + `streaming_config` message. ++ +
.google.cloud.speech.v1p1beta1.StreamingRecognitionConfig streaming_config = 1;getStreamingConfigOrBuilder in interface StreamingRecognizeRequestOrBuilderpublic com.google.protobuf.ByteString getAudioContent()+
+ The audio data to be recognized. Sequential chunks of audio data are sent + in sequential `StreamingRecognizeRequest` messages. The first + `StreamingRecognizeRequest` message must not contain `audio_content` data + and all subsequent `StreamingRecognizeRequest` messages must contain + `audio_content` data. The audio bytes must be encoded as specified in + `RecognitionConfig`. Note: as with all bytes fields, protobuffers use a + pure binary representation (not base64). See + [audio limits](https://cloud.google.com/speech/limits#content). ++ +
bytes audio_content = 2;getAudioContent in interface StreamingRecognizeRequestOrBuilderpublic StreamingRecognizeRequest.Builder setAudioContent(com.google.protobuf.ByteString value)+
+ The audio data to be recognized. Sequential chunks of audio data are sent + in sequential `StreamingRecognizeRequest` messages. The first + `StreamingRecognizeRequest` message must not contain `audio_content` data + and all subsequent `StreamingRecognizeRequest` messages must contain + `audio_content` data. The audio bytes must be encoded as specified in + `RecognitionConfig`. Note: as with all bytes fields, protobuffers use a + pure binary representation (not base64). See + [audio limits](https://cloud.google.com/speech/limits#content). ++ +
bytes audio_content = 2;public StreamingRecognizeRequest.Builder clearAudioContent()+
+ The audio data to be recognized. Sequential chunks of audio data are sent + in sequential `StreamingRecognizeRequest` messages. The first + `StreamingRecognizeRequest` message must not contain `audio_content` data + and all subsequent `StreamingRecognizeRequest` messages must contain + `audio_content` data. The audio bytes must be encoded as specified in + `RecognitionConfig`. Note: as with all bytes fields, protobuffers use a + pure binary representation (not base64). See + [audio limits](https://cloud.google.com/speech/limits#content). ++ +
bytes audio_content = 2;public final StreamingRecognizeRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)+
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognizeRequest.Builder>public final StreamingRecognizeRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)+
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognizeRequest.Builder>public static enum StreamingRecognizeRequest.StreamingRequestCase +extends java.lang.Enum<StreamingRecognizeRequest.StreamingRequestCase> +implements com.google.protobuf.Internal.EnumLite+
| Enum Constant and Description | +
|---|
AUDIO_CONTENT |
+
STREAMING_CONFIG |
+
STREAMINGREQUEST_NOT_SET |
+
| Modifier and Type | +Method and Description | +
|---|---|
static StreamingRecognizeRequest.StreamingRequestCase |
+forNumber(int value) |
+
int |
+getNumber() |
+
static StreamingRecognizeRequest.StreamingRequestCase |
+valueOf(int value)
+Deprecated.
+
+Use
+forNumber(int) instead. |
+
static StreamingRecognizeRequest.StreamingRequestCase |
+valueOf(java.lang.String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static StreamingRecognizeRequest.StreamingRequestCase[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetClass, notify, notifyAll, wait, wait, waitpublic static final StreamingRecognizeRequest.StreamingRequestCase STREAMING_CONFIG+
public static final StreamingRecognizeRequest.StreamingRequestCase AUDIO_CONTENT+
public static final StreamingRecognizeRequest.StreamingRequestCase STREAMINGREQUEST_NOT_SET+
public static StreamingRecognizeRequest.StreamingRequestCase[] values()+
+for (StreamingRecognizeRequest.StreamingRequestCase c : StreamingRecognizeRequest.StreamingRequestCase.values()) + System.out.println(c); +
public static StreamingRecognizeRequest.StreamingRequestCase valueOf(java.lang.String name)+
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null@Deprecated +public static StreamingRecognizeRequest.StreamingRequestCase valueOf(int value)+
forNumber(int) instead.public static StreamingRecognizeRequest.StreamingRequestCase forNumber(int value)+
public int getNumber()+
getNumber in interface com.google.protobuf.Internal.EnumLitepublic final class StreamingRecognizeRequest +extends com.google.protobuf.GeneratedMessageV3 +implements StreamingRecognizeRequestOrBuilder+
+ The top-level message sent by the client for the `StreamingRecognize` method. + Multiple `StreamingRecognizeRequest` messages are sent. The first message + must contain a `streaming_config` message and must not contain `audio` data. + All subsequent messages must contain `audio` data and must not contain a + `streaming_config` message. ++ + Protobuf type
google.cloud.speech.v1p1beta1.StreamingRecognizeRequest| Modifier and Type | +Class and Description | +
|---|---|
static class |
+StreamingRecognizeRequest.Builder
+
+ The top-level message sent by the client for the `StreamingRecognize` method.
+ |
+
static class |
+StreamingRecognizeRequest.StreamingRequestCase |
+
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | +Field and Description | +
|---|---|
static int |
+AUDIO_CONTENT_FIELD_NUMBER |
+
static int |
+STREAMING_CONFIG_FIELD_NUMBER |
+
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | +Method and Description | +
|---|---|
boolean |
+equals(java.lang.Object obj) |
+
com.google.protobuf.ByteString |
+getAudioContent()
+
+ The audio data to be recognized.
+ |
+
static StreamingRecognizeRequest |
+getDefaultInstance() |
+
StreamingRecognizeRequest |
+getDefaultInstanceForType() |
+
static com.google.protobuf.Descriptors.Descriptor |
+getDescriptor() |
+
com.google.protobuf.Parser<StreamingRecognizeRequest> |
+getParserForType() |
+
int |
+getSerializedSize() |
+
StreamingRecognitionConfig |
+getStreamingConfig()
+
+ Provides information to the recognizer that specifies how to process the
+ request.
+ |
+
StreamingRecognitionConfigOrBuilder |
+getStreamingConfigOrBuilder()
+
+ Provides information to the recognizer that specifies how to process the
+ request.
+ |
+
StreamingRecognizeRequest.StreamingRequestCase |
+getStreamingRequestCase() |
+
com.google.protobuf.UnknownFieldSet |
+getUnknownFields() |
+
int |
+hashCode() |
+
boolean |
+hasStreamingConfig()
+
+ Provides information to the recognizer that specifies how to process the
+ request.
+ |
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
+internalGetFieldAccessorTable() |
+
boolean |
+isInitialized() |
+
static StreamingRecognizeRequest.Builder |
+newBuilder() |
+
static StreamingRecognizeRequest.Builder |
+newBuilder(StreamingRecognizeRequest prototype) |
+
StreamingRecognizeRequest.Builder |
+newBuilderForType() |
+
protected StreamingRecognizeRequest.Builder |
+newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
+
static StreamingRecognizeRequest |
+parseDelimitedFrom(java.io.InputStream input) |
+
static StreamingRecognizeRequest |
+parseDelimitedFrom(java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static StreamingRecognizeRequest |
+parseFrom(byte[] data) |
+
static StreamingRecognizeRequest |
+parseFrom(byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static StreamingRecognizeRequest |
+parseFrom(java.nio.ByteBuffer data) |
+
static StreamingRecognizeRequest |
+parseFrom(java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static StreamingRecognizeRequest |
+parseFrom(com.google.protobuf.ByteString data) |
+
static StreamingRecognizeRequest |
+parseFrom(com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static StreamingRecognizeRequest |
+parseFrom(com.google.protobuf.CodedInputStream input) |
+
static StreamingRecognizeRequest |
+parseFrom(com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static StreamingRecognizeRequest |
+parseFrom(java.io.InputStream input) |
+
static StreamingRecognizeRequest |
+parseFrom(java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static com.google.protobuf.Parser<StreamingRecognizeRequest> |
+parser() |
+
StreamingRecognizeRequest.Builder |
+toBuilder() |
+
void |
+writeTo(com.google.protobuf.CodedOutputStream output) |
+
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int STREAMING_CONFIG_FIELD_NUMBER+
public static final int AUDIO_CONTENT_FIELD_NUMBER+
public final com.google.protobuf.UnknownFieldSet getUnknownFields()+
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()+
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public StreamingRecognizeRequest.StreamingRequestCase getStreamingRequestCase()+
getStreamingRequestCase in interface StreamingRecognizeRequestOrBuilderpublic boolean hasStreamingConfig()+
+ Provides information to the recognizer that specifies how to process the + request. The first `StreamingRecognizeRequest` message must contain a + `streaming_config` message. ++ +
.google.cloud.speech.v1p1beta1.StreamingRecognitionConfig streaming_config = 1;hasStreamingConfig in interface StreamingRecognizeRequestOrBuilderpublic StreamingRecognitionConfig getStreamingConfig()+
+ Provides information to the recognizer that specifies how to process the + request. The first `StreamingRecognizeRequest` message must contain a + `streaming_config` message. ++ +
.google.cloud.speech.v1p1beta1.StreamingRecognitionConfig streaming_config = 1;getStreamingConfig in interface StreamingRecognizeRequestOrBuilderpublic StreamingRecognitionConfigOrBuilder getStreamingConfigOrBuilder()+
+ Provides information to the recognizer that specifies how to process the + request. The first `StreamingRecognizeRequest` message must contain a + `streaming_config` message. ++ +
.google.cloud.speech.v1p1beta1.StreamingRecognitionConfig streaming_config = 1;getStreamingConfigOrBuilder in interface StreamingRecognizeRequestOrBuilderpublic com.google.protobuf.ByteString getAudioContent()+
+ The audio data to be recognized. Sequential chunks of audio data are sent + in sequential `StreamingRecognizeRequest` messages. The first + `StreamingRecognizeRequest` message must not contain `audio_content` data + and all subsequent `StreamingRecognizeRequest` messages must contain + `audio_content` data. The audio bytes must be encoded as specified in + `RecognitionConfig`. Note: as with all bytes fields, protobuffers use a + pure binary representation (not base64). See + [audio limits](https://cloud.google.com/speech/limits#content). ++ +
bytes audio_content = 2;getAudioContent in interface StreamingRecognizeRequestOrBuilderpublic final boolean isInitialized()+
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException+
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()+
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)+
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()+
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static StreamingRecognizeRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamingRecognizeRequest parseFrom(java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamingRecognizeRequest parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamingRecognizeRequest parseFrom(com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamingRecognizeRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamingRecognizeRequest parseFrom(byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamingRecognizeRequest parseFrom(java.io.InputStream input) + throws java.io.IOException+
java.io.IOExceptionpublic static StreamingRecognizeRequest parseFrom(java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
java.io.IOExceptionpublic static StreamingRecognizeRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException+
java.io.IOExceptionpublic static StreamingRecognizeRequest parseDelimitedFrom(java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
java.io.IOExceptionpublic static StreamingRecognizeRequest parseFrom(com.google.protobuf.CodedInputStream input) + throws java.io.IOException+
java.io.IOExceptionpublic static StreamingRecognizeRequest parseFrom(com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
java.io.IOExceptionpublic StreamingRecognizeRequest.Builder newBuilderForType()+
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static StreamingRecognizeRequest.Builder newBuilder()+
public static StreamingRecognizeRequest.Builder newBuilder(StreamingRecognizeRequest prototype)+
public StreamingRecognizeRequest.Builder toBuilder()+
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected StreamingRecognizeRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)+
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static StreamingRecognizeRequest getDefaultInstance()+
public static com.google.protobuf.Parser<StreamingRecognizeRequest> parser()+
public com.google.protobuf.Parser<StreamingRecognizeRequest> getParserForType()+
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public StreamingRecognizeRequest getDefaultInstanceForType()+
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic interface StreamingRecognizeRequestOrBuilder
+extends com.google.protobuf.MessageOrBuilder
+| Modifier and Type | +Method and Description | +
|---|---|
com.google.protobuf.ByteString |
+getAudioContent()
+
+ The audio data to be recognized.
+ |
+
StreamingRecognitionConfig |
+getStreamingConfig()
+
+ Provides information to the recognizer that specifies how to process the
+ request.
+ |
+
StreamingRecognitionConfigOrBuilder |
+getStreamingConfigOrBuilder()
+
+ Provides information to the recognizer that specifies how to process the
+ request.
+ |
+
StreamingRecognizeRequest.StreamingRequestCase |
+getStreamingRequestCase() |
+
boolean |
+hasStreamingConfig()
+
+ Provides information to the recognizer that specifies how to process the
+ request.
+ |
+
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofisInitializedboolean hasStreamingConfig()+
+ Provides information to the recognizer that specifies how to process the + request. The first `StreamingRecognizeRequest` message must contain a + `streaming_config` message. ++ +
.google.cloud.speech.v1p1beta1.StreamingRecognitionConfig streaming_config = 1;StreamingRecognitionConfig getStreamingConfig()+
+ Provides information to the recognizer that specifies how to process the + request. The first `StreamingRecognizeRequest` message must contain a + `streaming_config` message. ++ +
.google.cloud.speech.v1p1beta1.StreamingRecognitionConfig streaming_config = 1;StreamingRecognitionConfigOrBuilder getStreamingConfigOrBuilder()+
+ Provides information to the recognizer that specifies how to process the + request. The first `StreamingRecognizeRequest` message must contain a + `streaming_config` message. ++ +
.google.cloud.speech.v1p1beta1.StreamingRecognitionConfig streaming_config = 1;com.google.protobuf.ByteString getAudioContent()+
+ The audio data to be recognized. Sequential chunks of audio data are sent + in sequential `StreamingRecognizeRequest` messages. The first + `StreamingRecognizeRequest` message must not contain `audio_content` data + and all subsequent `StreamingRecognizeRequest` messages must contain + `audio_content` data. The audio bytes must be encoded as specified in + `RecognitionConfig`. Note: as with all bytes fields, protobuffers use a + pure binary representation (not base64). See + [audio limits](https://cloud.google.com/speech/limits#content). ++ +
bytes audio_content = 2;StreamingRecognizeRequest.StreamingRequestCase getStreamingRequestCase()+
public static final class StreamingRecognizeResponse.Builder +extends com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognizeResponse.Builder> +implements StreamingRecognizeResponseOrBuilder+
+ `StreamingRecognizeResponse` is the only message returned to the client by
+ `StreamingRecognize`. A series of zero or more `StreamingRecognizeResponse`
+ messages are streamed back to the client. If there is no recognizable
+ audio, and `single_utterance` is set to false, then no messages are streamed
+ back to the client.
+ Here's an example of a series of ten `StreamingRecognizeResponse`s that might
+ be returned while processing audio:
+ 1. results { alternatives { transcript: "tube" } stability: 0.01 }
+ 2. results { alternatives { transcript: "to be a" } stability: 0.01 }
+ 3. results { alternatives { transcript: "to be" } stability: 0.9 }
+ results { alternatives { transcript: " or not to be" } stability: 0.01 }
+ 4. results { alternatives { transcript: "to be or not to be"
+ confidence: 0.92 }
+ alternatives { transcript: "to bee or not to bee" }
+ is_final: true }
+ 5. results { alternatives { transcript: " that's" } stability: 0.01 }
+ 6. results { alternatives { transcript: " that is" } stability: 0.9 }
+ results { alternatives { transcript: " the question" } stability: 0.01 }
+ 7. results { alternatives { transcript: " that is the question"
+ confidence: 0.98 }
+ alternatives { transcript: " that was the question" }
+ is_final: true }
+ Notes:
+ - Only two of the above responses #4 and #7 contain final results; they are
+ indicated by `is_final: true`. Concatenating these together generates the
+ full transcript: "to be or not to be that is the question".
+ - The others contain interim `results`. #3 and #6 contain two interim
+ `results`: the first portion has a high stability and is less likely to
+ change; the second portion has a low stability and is very likely to
+ change. A UI designer might choose to show only high stability `results`.
+ - The specific `stability` and `confidence` values shown above are only for
+ illustrative purposes. Actual values may vary.
+ - In each response, only one of these fields will be set:
+ `error`,
+ `speech_event_type`, or
+ one or more (repeated) `results`.
+
+
+ Protobuf type google.cloud.speech.v1p1beta1.StreamingRecognizeResponse| Modifier and Type | +Method and Description | +
|---|---|
StreamingRecognizeResponse.Builder |
+addAllResults(java.lang.Iterable<? extends StreamingRecognitionResult> values)
+
+ *Output-only* This repeated list contains zero or more results that
+ correspond to consecutive portions of the audio currently being processed.
+ |
+
StreamingRecognizeResponse.Builder |
+addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) |
+
StreamingRecognizeResponse.Builder |
+addResults(int index,
+ StreamingRecognitionResult.Builder builderForValue)
+
+ *Output-only* This repeated list contains zero or more results that
+ correspond to consecutive portions of the audio currently being processed.
+ |
+
StreamingRecognizeResponse.Builder |
+addResults(int index,
+ StreamingRecognitionResult value)
+
+ *Output-only* This repeated list contains zero or more results that
+ correspond to consecutive portions of the audio currently being processed.
+ |
+
StreamingRecognizeResponse.Builder |
+addResults(StreamingRecognitionResult.Builder builderForValue)
+
+ *Output-only* This repeated list contains zero or more results that
+ correspond to consecutive portions of the audio currently being processed.
+ |
+
StreamingRecognizeResponse.Builder |
+addResults(StreamingRecognitionResult value)
+
+ *Output-only* This repeated list contains zero or more results that
+ correspond to consecutive portions of the audio currently being processed.
+ |
+
StreamingRecognitionResult.Builder |
+addResultsBuilder()
+
+ *Output-only* This repeated list contains zero or more results that
+ correspond to consecutive portions of the audio currently being processed.
+ |
+
StreamingRecognitionResult.Builder |
+addResultsBuilder(int index)
+
+ *Output-only* This repeated list contains zero or more results that
+ correspond to consecutive portions of the audio currently being processed.
+ |
+
StreamingRecognizeResponse |
+build() |
+
StreamingRecognizeResponse |
+buildPartial() |
+
StreamingRecognizeResponse.Builder |
+clear() |
+
StreamingRecognizeResponse.Builder |
+clearError()
+
+ *Output-only* If set, returns a [google.rpc.Status][google.rpc.Status] message that
+ specifies the error for the operation.
+ |
+
StreamingRecognizeResponse.Builder |
+clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
+
StreamingRecognizeResponse.Builder |
+clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
+
StreamingRecognizeResponse.Builder |
+clearResults()
+
+ *Output-only* This repeated list contains zero or more results that
+ correspond to consecutive portions of the audio currently being processed.
+ |
+
StreamingRecognizeResponse.Builder |
+clearSpeechEventType()
+
+ *Output-only* Indicates the type of speech event.
+ |
+
StreamingRecognizeResponse.Builder |
+clone() |
+
StreamingRecognizeResponse |
+getDefaultInstanceForType() |
+
static com.google.protobuf.Descriptors.Descriptor |
+getDescriptor() |
+
com.google.protobuf.Descriptors.Descriptor |
+getDescriptorForType() |
+
com.google.rpc.Status |
+getError()
+
+ *Output-only* If set, returns a [google.rpc.Status][google.rpc.Status] message that
+ specifies the error for the operation.
+ |
+
com.google.rpc.Status.Builder |
+getErrorBuilder()
+
+ *Output-only* If set, returns a [google.rpc.Status][google.rpc.Status] message that
+ specifies the error for the operation.
+ |
+
com.google.rpc.StatusOrBuilder |
+getErrorOrBuilder()
+
+ *Output-only* If set, returns a [google.rpc.Status][google.rpc.Status] message that
+ specifies the error for the operation.
+ |
+
StreamingRecognitionResult |
+getResults(int index)
+
+ *Output-only* This repeated list contains zero or more results that
+ correspond to consecutive portions of the audio currently being processed.
+ |
+
StreamingRecognitionResult.Builder |
+getResultsBuilder(int index)
+
+ *Output-only* This repeated list contains zero or more results that
+ correspond to consecutive portions of the audio currently being processed.
+ |
+
java.util.List<StreamingRecognitionResult.Builder> |
+getResultsBuilderList()
+
+ *Output-only* This repeated list contains zero or more results that
+ correspond to consecutive portions of the audio currently being processed.
+ |
+
int |
+getResultsCount()
+
+ *Output-only* This repeated list contains zero or more results that
+ correspond to consecutive portions of the audio currently being processed.
+ |
+
java.util.List<StreamingRecognitionResult> |
+getResultsList()
+
+ *Output-only* This repeated list contains zero or more results that
+ correspond to consecutive portions of the audio currently being processed.
+ |
+
StreamingRecognitionResultOrBuilder |
+getResultsOrBuilder(int index)
+
+ *Output-only* This repeated list contains zero or more results that
+ correspond to consecutive portions of the audio currently being processed.
+ |
+
java.util.List<? extends StreamingRecognitionResultOrBuilder> |
+getResultsOrBuilderList()
+
+ *Output-only* This repeated list contains zero or more results that
+ correspond to consecutive portions of the audio currently being processed.
+ |
+
StreamingRecognizeResponse.SpeechEventType |
+getSpeechEventType()
+
+ *Output-only* Indicates the type of speech event.
+ |
+
int |
+getSpeechEventTypeValue()
+
+ *Output-only* Indicates the type of speech event.
+ |
+
boolean |
+hasError()
+
+ *Output-only* If set, returns a [google.rpc.Status][google.rpc.Status] message that
+ specifies the error for the operation.
+ |
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
+internalGetFieldAccessorTable() |
+
boolean |
+isInitialized() |
+
StreamingRecognizeResponse.Builder |
+mergeError(com.google.rpc.Status value)
+
+ *Output-only* If set, returns a [google.rpc.Status][google.rpc.Status] message that
+ specifies the error for the operation.
+ |
+
StreamingRecognizeResponse.Builder |
+mergeFrom(com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
StreamingRecognizeResponse.Builder |
+mergeFrom(com.google.protobuf.Message other) |
+
StreamingRecognizeResponse.Builder |
+mergeFrom(StreamingRecognizeResponse other) |
+
StreamingRecognizeResponse.Builder |
+mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
+
StreamingRecognizeResponse.Builder |
+removeResults(int index)
+
+ *Output-only* This repeated list contains zero or more results that
+ correspond to consecutive portions of the audio currently being processed.
+ |
+
StreamingRecognizeResponse.Builder |
+setError(com.google.rpc.Status.Builder builderForValue)
+
+ *Output-only* If set, returns a [google.rpc.Status][google.rpc.Status] message that
+ specifies the error for the operation.
+ |
+
StreamingRecognizeResponse.Builder |
+setError(com.google.rpc.Status value)
+
+ *Output-only* If set, returns a [google.rpc.Status][google.rpc.Status] message that
+ specifies the error for the operation.
+ |
+
StreamingRecognizeResponse.Builder |
+setField(com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) |
+
StreamingRecognizeResponse.Builder |
+setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
+ int index,
+ java.lang.Object value) |
+
StreamingRecognizeResponse.Builder |
+setResults(int index,
+ StreamingRecognitionResult.Builder builderForValue)
+
+ *Output-only* This repeated list contains zero or more results that
+ correspond to consecutive portions of the audio currently being processed.
+ |
+
StreamingRecognizeResponse.Builder |
+setResults(int index,
+ StreamingRecognitionResult value)
+
+ *Output-only* This repeated list contains zero or more results that
+ correspond to consecutive portions of the audio currently being processed.
+ |
+
StreamingRecognizeResponse.Builder |
+setSpeechEventType(StreamingRecognizeResponse.SpeechEventType value)
+
+ *Output-only* Indicates the type of speech event.
+ |
+
StreamingRecognizeResponse.Builder |
+setSpeechEventTypeValue(int value)
+
+ *Output-only* Indicates the type of speech event.
+ |
+
StreamingRecognizeResponse.Builder |
+setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
+
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()+
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognizeResponse.Builder>public StreamingRecognizeResponse.Builder clear()+
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognizeResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()+
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognizeResponse.Builder>public StreamingRecognizeResponse getDefaultInstanceForType()+
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic StreamingRecognizeResponse build()+
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic StreamingRecognizeResponse buildPartial()+
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic StreamingRecognizeResponse.Builder clone()+
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognizeResponse.Builder>public StreamingRecognizeResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value)+
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognizeResponse.Builder>public StreamingRecognizeResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)+
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognizeResponse.Builder>public StreamingRecognizeResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)+
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognizeResponse.Builder>public StreamingRecognizeResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value)+
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognizeResponse.Builder>public StreamingRecognizeResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value)+
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognizeResponse.Builder>public StreamingRecognizeResponse.Builder mergeFrom(com.google.protobuf.Message other)+
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<StreamingRecognizeResponse.Builder>public StreamingRecognizeResponse.Builder mergeFrom(StreamingRecognizeResponse other)+
public final boolean isInitialized()+
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognizeResponse.Builder>public StreamingRecognizeResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<StreamingRecognizeResponse.Builder>java.io.IOExceptionpublic boolean hasError()+
+ *Output-only* If set, returns a [google.rpc.Status][google.rpc.Status] message that + specifies the error for the operation. ++ +
.google.rpc.Status error = 1;hasError in interface StreamingRecognizeResponseOrBuilderpublic com.google.rpc.Status getError()+
+ *Output-only* If set, returns a [google.rpc.Status][google.rpc.Status] message that + specifies the error for the operation. ++ +
.google.rpc.Status error = 1;getError in interface StreamingRecognizeResponseOrBuilderpublic StreamingRecognizeResponse.Builder setError(com.google.rpc.Status value)+
+ *Output-only* If set, returns a [google.rpc.Status][google.rpc.Status] message that + specifies the error for the operation. ++ +
.google.rpc.Status error = 1;public StreamingRecognizeResponse.Builder setError(com.google.rpc.Status.Builder builderForValue)+
+ *Output-only* If set, returns a [google.rpc.Status][google.rpc.Status] message that + specifies the error for the operation. ++ +
.google.rpc.Status error = 1;public StreamingRecognizeResponse.Builder mergeError(com.google.rpc.Status value)+
+ *Output-only* If set, returns a [google.rpc.Status][google.rpc.Status] message that + specifies the error for the operation. ++ +
.google.rpc.Status error = 1;public StreamingRecognizeResponse.Builder clearError()+
+ *Output-only* If set, returns a [google.rpc.Status][google.rpc.Status] message that + specifies the error for the operation. ++ +
.google.rpc.Status error = 1;public com.google.rpc.Status.Builder getErrorBuilder()+
+ *Output-only* If set, returns a [google.rpc.Status][google.rpc.Status] message that + specifies the error for the operation. ++ +
.google.rpc.Status error = 1;public com.google.rpc.StatusOrBuilder getErrorOrBuilder()+
+ *Output-only* If set, returns a [google.rpc.Status][google.rpc.Status] message that + specifies the error for the operation. ++ +
.google.rpc.Status error = 1;getErrorOrBuilder in interface StreamingRecognizeResponseOrBuilderpublic java.util.List<StreamingRecognitionResult> getResultsList()+
+ *Output-only* This repeated list contains zero or more results that + correspond to consecutive portions of the audio currently being processed. + It contains zero or one `is_final=true` result (the newly settled portion), + followed by zero or more `is_final=false` results (the interim results). ++ +
repeated .google.cloud.speech.v1p1beta1.StreamingRecognitionResult results = 2;getResultsList in interface StreamingRecognizeResponseOrBuilderpublic int getResultsCount()+
+ *Output-only* This repeated list contains zero or more results that + correspond to consecutive portions of the audio currently being processed. + It contains zero or one `is_final=true` result (the newly settled portion), + followed by zero or more `is_final=false` results (the interim results). ++ +
repeated .google.cloud.speech.v1p1beta1.StreamingRecognitionResult results = 2;getResultsCount in interface StreamingRecognizeResponseOrBuilderpublic StreamingRecognitionResult getResults(int index)+
+ *Output-only* This repeated list contains zero or more results that + correspond to consecutive portions of the audio currently being processed. + It contains zero or one `is_final=true` result (the newly settled portion), + followed by zero or more `is_final=false` results (the interim results). ++ +
repeated .google.cloud.speech.v1p1beta1.StreamingRecognitionResult results = 2;getResults in interface StreamingRecognizeResponseOrBuilderpublic StreamingRecognizeResponse.Builder setResults(int index, + StreamingRecognitionResult value)+
+ *Output-only* This repeated list contains zero or more results that + correspond to consecutive portions of the audio currently being processed. + It contains zero or one `is_final=true` result (the newly settled portion), + followed by zero or more `is_final=false` results (the interim results). ++ +
repeated .google.cloud.speech.v1p1beta1.StreamingRecognitionResult results = 2;public StreamingRecognizeResponse.Builder setResults(int index, + StreamingRecognitionResult.Builder builderForValue)+
+ *Output-only* This repeated list contains zero or more results that + correspond to consecutive portions of the audio currently being processed. + It contains zero or one `is_final=true` result (the newly settled portion), + followed by zero or more `is_final=false` results (the interim results). ++ +
repeated .google.cloud.speech.v1p1beta1.StreamingRecognitionResult results = 2;public StreamingRecognizeResponse.Builder addResults(StreamingRecognitionResult value)+
+ *Output-only* This repeated list contains zero or more results that + correspond to consecutive portions of the audio currently being processed. + It contains zero or one `is_final=true` result (the newly settled portion), + followed by zero or more `is_final=false` results (the interim results). ++ +
repeated .google.cloud.speech.v1p1beta1.StreamingRecognitionResult results = 2;public StreamingRecognizeResponse.Builder addResults(int index, + StreamingRecognitionResult value)+
+ *Output-only* This repeated list contains zero or more results that + correspond to consecutive portions of the audio currently being processed. + It contains zero or one `is_final=true` result (the newly settled portion), + followed by zero or more `is_final=false` results (the interim results). ++ +
repeated .google.cloud.speech.v1p1beta1.StreamingRecognitionResult results = 2;public StreamingRecognizeResponse.Builder addResults(StreamingRecognitionResult.Builder builderForValue)+
+ *Output-only* This repeated list contains zero or more results that + correspond to consecutive portions of the audio currently being processed. + It contains zero or one `is_final=true` result (the newly settled portion), + followed by zero or more `is_final=false` results (the interim results). ++ +
repeated .google.cloud.speech.v1p1beta1.StreamingRecognitionResult results = 2;public StreamingRecognizeResponse.Builder addResults(int index, + StreamingRecognitionResult.Builder builderForValue)+
+ *Output-only* This repeated list contains zero or more results that + correspond to consecutive portions of the audio currently being processed. + It contains zero or one `is_final=true` result (the newly settled portion), + followed by zero or more `is_final=false` results (the interim results). ++ +
repeated .google.cloud.speech.v1p1beta1.StreamingRecognitionResult results = 2;public StreamingRecognizeResponse.Builder addAllResults(java.lang.Iterable<? extends StreamingRecognitionResult> values)+
+ *Output-only* This repeated list contains zero or more results that + correspond to consecutive portions of the audio currently being processed. + It contains zero or one `is_final=true` result (the newly settled portion), + followed by zero or more `is_final=false` results (the interim results). ++ +
repeated .google.cloud.speech.v1p1beta1.StreamingRecognitionResult results = 2;public StreamingRecognizeResponse.Builder clearResults()+
+ *Output-only* This repeated list contains zero or more results that + correspond to consecutive portions of the audio currently being processed. + It contains zero or one `is_final=true` result (the newly settled portion), + followed by zero or more `is_final=false` results (the interim results). ++ +
repeated .google.cloud.speech.v1p1beta1.StreamingRecognitionResult results = 2;public StreamingRecognizeResponse.Builder removeResults(int index)+
+ *Output-only* This repeated list contains zero or more results that + correspond to consecutive portions of the audio currently being processed. + It contains zero or one `is_final=true` result (the newly settled portion), + followed by zero or more `is_final=false` results (the interim results). ++ +
repeated .google.cloud.speech.v1p1beta1.StreamingRecognitionResult results = 2;public StreamingRecognitionResult.Builder getResultsBuilder(int index)+
+ *Output-only* This repeated list contains zero or more results that + correspond to consecutive portions of the audio currently being processed. + It contains zero or one `is_final=true` result (the newly settled portion), + followed by zero or more `is_final=false` results (the interim results). ++ +
repeated .google.cloud.speech.v1p1beta1.StreamingRecognitionResult results = 2;public StreamingRecognitionResultOrBuilder getResultsOrBuilder(int index)+
+ *Output-only* This repeated list contains zero or more results that + correspond to consecutive portions of the audio currently being processed. + It contains zero or one `is_final=true` result (the newly settled portion), + followed by zero or more `is_final=false` results (the interim results). ++ +
repeated .google.cloud.speech.v1p1beta1.StreamingRecognitionResult results = 2;getResultsOrBuilder in interface StreamingRecognizeResponseOrBuilderpublic java.util.List<? extends StreamingRecognitionResultOrBuilder> getResultsOrBuilderList()+
+ *Output-only* This repeated list contains zero or more results that + correspond to consecutive portions of the audio currently being processed. + It contains zero or one `is_final=true` result (the newly settled portion), + followed by zero or more `is_final=false` results (the interim results). ++ +
repeated .google.cloud.speech.v1p1beta1.StreamingRecognitionResult results = 2;getResultsOrBuilderList in interface StreamingRecognizeResponseOrBuilderpublic StreamingRecognitionResult.Builder addResultsBuilder()+
+ *Output-only* This repeated list contains zero or more results that + correspond to consecutive portions of the audio currently being processed. + It contains zero or one `is_final=true` result (the newly settled portion), + followed by zero or more `is_final=false` results (the interim results). ++ +
repeated .google.cloud.speech.v1p1beta1.StreamingRecognitionResult results = 2;public StreamingRecognitionResult.Builder addResultsBuilder(int index)+
+ *Output-only* This repeated list contains zero or more results that + correspond to consecutive portions of the audio currently being processed. + It contains zero or one `is_final=true` result (the newly settled portion), + followed by zero or more `is_final=false` results (the interim results). ++ +
repeated .google.cloud.speech.v1p1beta1.StreamingRecognitionResult results = 2;public java.util.List<StreamingRecognitionResult.Builder> getResultsBuilderList()+
+ *Output-only* This repeated list contains zero or more results that + correspond to consecutive portions of the audio currently being processed. + It contains zero or one `is_final=true` result (the newly settled portion), + followed by zero or more `is_final=false` results (the interim results). ++ +
repeated .google.cloud.speech.v1p1beta1.StreamingRecognitionResult results = 2;public int getSpeechEventTypeValue()+
+ *Output-only* Indicates the type of speech event. ++ +
.google.cloud.speech.v1p1beta1.StreamingRecognizeResponse.SpeechEventType speech_event_type = 4;getSpeechEventTypeValue in interface StreamingRecognizeResponseOrBuilderpublic StreamingRecognizeResponse.Builder setSpeechEventTypeValue(int value)+
+ *Output-only* Indicates the type of speech event. ++ +
.google.cloud.speech.v1p1beta1.StreamingRecognizeResponse.SpeechEventType speech_event_type = 4;public StreamingRecognizeResponse.SpeechEventType getSpeechEventType()+
+ *Output-only* Indicates the type of speech event. ++ +
.google.cloud.speech.v1p1beta1.StreamingRecognizeResponse.SpeechEventType speech_event_type = 4;getSpeechEventType in interface StreamingRecognizeResponseOrBuilderpublic StreamingRecognizeResponse.Builder setSpeechEventType(StreamingRecognizeResponse.SpeechEventType value)+
+ *Output-only* Indicates the type of speech event. ++ +
.google.cloud.speech.v1p1beta1.StreamingRecognizeResponse.SpeechEventType speech_event_type = 4;public StreamingRecognizeResponse.Builder clearSpeechEventType()+
+ *Output-only* Indicates the type of speech event. ++ +
.google.cloud.speech.v1p1beta1.StreamingRecognizeResponse.SpeechEventType speech_event_type = 4;public final StreamingRecognizeResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)+
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognizeResponse.Builder>public final StreamingRecognizeResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)+
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognizeResponse.Builder>public static enum StreamingRecognizeResponse.SpeechEventType +extends java.lang.Enum<StreamingRecognizeResponse.SpeechEventType> +implements com.google.protobuf.ProtocolMessageEnum+
+ Indicates the type of speech event. ++ + Protobuf enum
google.cloud.speech.v1p1beta1.StreamingRecognizeResponse.SpeechEventType| Enum Constant and Description | +
|---|
END_OF_SINGLE_UTTERANCE
+
+ This event indicates that the server has detected the end of the user's
+ speech utterance and expects no additional speech.
+ |
+
SPEECH_EVENT_UNSPECIFIED
+
+ No speech event specified.
+ |
+
UNRECOGNIZED |
+
| Modifier and Type | +Field and Description | +
|---|---|
static int |
+END_OF_SINGLE_UTTERANCE_VALUE
+
+ This event indicates that the server has detected the end of the user's
+ speech utterance and expects no additional speech.
+ |
+
static int |
+SPEECH_EVENT_UNSPECIFIED_VALUE
+
+ No speech event specified.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
static StreamingRecognizeResponse.SpeechEventType |
+forNumber(int value) |
+
static com.google.protobuf.Descriptors.EnumDescriptor |
+getDescriptor() |
+
com.google.protobuf.Descriptors.EnumDescriptor |
+getDescriptorForType() |
+
int |
+getNumber() |
+
com.google.protobuf.Descriptors.EnumValueDescriptor |
+getValueDescriptor() |
+
static com.google.protobuf.Internal.EnumLiteMap<StreamingRecognizeResponse.SpeechEventType> |
+internalGetValueMap() |
+
static StreamingRecognizeResponse.SpeechEventType |
+valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
+
static StreamingRecognizeResponse.SpeechEventType |
+valueOf(int value)
+Deprecated.
+
+Use
+forNumber(int) instead. |
+
static StreamingRecognizeResponse.SpeechEventType |
+valueOf(java.lang.String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static StreamingRecognizeResponse.SpeechEventType[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetClass, notify, notifyAll, wait, wait, waitpublic static final StreamingRecognizeResponse.SpeechEventType SPEECH_EVENT_UNSPECIFIED+
+ No speech event specified. ++ +
SPEECH_EVENT_UNSPECIFIED = 0;public static final StreamingRecognizeResponse.SpeechEventType END_OF_SINGLE_UTTERANCE+
+ This event indicates that the server has detected the end of the user's + speech utterance and expects no additional speech. Therefore, the server + will not process additional audio (although it may subsequently return + additional results). The client should stop sending additional audio + data, half-close the gRPC connection, and wait for any additional results + until the server closes the gRPC connection. This event is only sent if + `single_utterance` was set to `true`, and is not used otherwise. ++ +
END_OF_SINGLE_UTTERANCE = 1;public static final StreamingRecognizeResponse.SpeechEventType UNRECOGNIZED+
public static final int SPEECH_EVENT_UNSPECIFIED_VALUE+
+ No speech event specified. ++ +
SPEECH_EVENT_UNSPECIFIED = 0;public static final int END_OF_SINGLE_UTTERANCE_VALUE+
+ This event indicates that the server has detected the end of the user's + speech utterance and expects no additional speech. Therefore, the server + will not process additional audio (although it may subsequently return + additional results). The client should stop sending additional audio + data, half-close the gRPC connection, and wait for any additional results + until the server closes the gRPC connection. This event is only sent if + `single_utterance` was set to `true`, and is not used otherwise. ++ +
END_OF_SINGLE_UTTERANCE = 1;public static StreamingRecognizeResponse.SpeechEventType[] values()+
+for (StreamingRecognizeResponse.SpeechEventType c : StreamingRecognizeResponse.SpeechEventType.values()) + System.out.println(c); +
public static StreamingRecognizeResponse.SpeechEventType valueOf(java.lang.String name)+
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic final int getNumber()+
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated +public static StreamingRecognizeResponse.SpeechEventType valueOf(int value)+
forNumber(int) instead.public static StreamingRecognizeResponse.SpeechEventType forNumber(int value)+
public static com.google.protobuf.Internal.EnumLiteMap<StreamingRecognizeResponse.SpeechEventType> internalGetValueMap()+
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()+
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()+
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()+
public static StreamingRecognizeResponse.SpeechEventType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)+
public final class StreamingRecognizeResponse +extends com.google.protobuf.GeneratedMessageV3 +implements StreamingRecognizeResponseOrBuilder+
+ `StreamingRecognizeResponse` is the only message returned to the client by
+ `StreamingRecognize`. A series of zero or more `StreamingRecognizeResponse`
+ messages are streamed back to the client. If there is no recognizable
+ audio, and `single_utterance` is set to false, then no messages are streamed
+ back to the client.
+ Here's an example of a series of ten `StreamingRecognizeResponse`s that might
+ be returned while processing audio:
+ 1. results { alternatives { transcript: "tube" } stability: 0.01 }
+ 2. results { alternatives { transcript: "to be a" } stability: 0.01 }
+ 3. results { alternatives { transcript: "to be" } stability: 0.9 }
+ results { alternatives { transcript: " or not to be" } stability: 0.01 }
+ 4. results { alternatives { transcript: "to be or not to be"
+ confidence: 0.92 }
+ alternatives { transcript: "to bee or not to bee" }
+ is_final: true }
+ 5. results { alternatives { transcript: " that's" } stability: 0.01 }
+ 6. results { alternatives { transcript: " that is" } stability: 0.9 }
+ results { alternatives { transcript: " the question" } stability: 0.01 }
+ 7. results { alternatives { transcript: " that is the question"
+ confidence: 0.98 }
+ alternatives { transcript: " that was the question" }
+ is_final: true }
+ Notes:
+ - Only two of the above responses #4 and #7 contain final results; they are
+ indicated by `is_final: true`. Concatenating these together generates the
+ full transcript: "to be or not to be that is the question".
+ - The others contain interim `results`. #3 and #6 contain two interim
+ `results`: the first portion has a high stability and is less likely to
+ change; the second portion has a low stability and is very likely to
+ change. A UI designer might choose to show only high stability `results`.
+ - The specific `stability` and `confidence` values shown above are only for
+ illustrative purposes. Actual values may vary.
+ - In each response, only one of these fields will be set:
+ `error`,
+ `speech_event_type`, or
+ one or more (repeated) `results`.
+
+
+ Protobuf type google.cloud.speech.v1p1beta1.StreamingRecognizeResponse| Modifier and Type | +Class and Description | +
|---|---|
static class |
+StreamingRecognizeResponse.Builder
+
+ `StreamingRecognizeResponse` is the only message returned to the client by
+ `StreamingRecognize`.
+ |
+
static class |
+StreamingRecognizeResponse.SpeechEventType
+
+ Indicates the type of speech event.
+ |
+
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | +Field and Description | +
|---|---|
static int |
+ERROR_FIELD_NUMBER |
+
static int |
+RESULTS_FIELD_NUMBER |
+
static int |
+SPEECH_EVENT_TYPE_FIELD_NUMBER |
+
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | +Method and Description | +
|---|---|
boolean |
+equals(java.lang.Object obj) |
+
static StreamingRecognizeResponse |
+getDefaultInstance() |
+
StreamingRecognizeResponse |
+getDefaultInstanceForType() |
+
static com.google.protobuf.Descriptors.Descriptor |
+getDescriptor() |
+
com.google.rpc.Status |
+getError()
+
+ *Output-only* If set, returns a [google.rpc.Status][google.rpc.Status] message that
+ specifies the error for the operation.
+ |
+
com.google.rpc.StatusOrBuilder |
+getErrorOrBuilder()
+
+ *Output-only* If set, returns a [google.rpc.Status][google.rpc.Status] message that
+ specifies the error for the operation.
+ |
+
com.google.protobuf.Parser<StreamingRecognizeResponse> |
+getParserForType() |
+
StreamingRecognitionResult |
+getResults(int index)
+
+ *Output-only* This repeated list contains zero or more results that
+ correspond to consecutive portions of the audio currently being processed.
+ |
+
int |
+getResultsCount()
+
+ *Output-only* This repeated list contains zero or more results that
+ correspond to consecutive portions of the audio currently being processed.
+ |
+
java.util.List<StreamingRecognitionResult> |
+getResultsList()
+
+ *Output-only* This repeated list contains zero or more results that
+ correspond to consecutive portions of the audio currently being processed.
+ |
+
StreamingRecognitionResultOrBuilder |
+getResultsOrBuilder(int index)
+
+ *Output-only* This repeated list contains zero or more results that
+ correspond to consecutive portions of the audio currently being processed.
+ |
+
java.util.List<? extends StreamingRecognitionResultOrBuilder> |
+getResultsOrBuilderList()
+
+ *Output-only* This repeated list contains zero or more results that
+ correspond to consecutive portions of the audio currently being processed.
+ |
+
int |
+getSerializedSize() |
+
StreamingRecognizeResponse.SpeechEventType |
+getSpeechEventType()
+
+ *Output-only* Indicates the type of speech event.
+ |
+
int |
+getSpeechEventTypeValue()
+
+ *Output-only* Indicates the type of speech event.
+ |
+
com.google.protobuf.UnknownFieldSet |
+getUnknownFields() |
+
boolean |
+hasError()
+
+ *Output-only* If set, returns a [google.rpc.Status][google.rpc.Status] message that
+ specifies the error for the operation.
+ |
+
int |
+hashCode() |
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
+internalGetFieldAccessorTable() |
+
boolean |
+isInitialized() |
+
static StreamingRecognizeResponse.Builder |
+newBuilder() |
+
static StreamingRecognizeResponse.Builder |
+newBuilder(StreamingRecognizeResponse prototype) |
+
StreamingRecognizeResponse.Builder |
+newBuilderForType() |
+
protected StreamingRecognizeResponse.Builder |
+newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
+
static StreamingRecognizeResponse |
+parseDelimitedFrom(java.io.InputStream input) |
+
static StreamingRecognizeResponse |
+parseDelimitedFrom(java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static StreamingRecognizeResponse |
+parseFrom(byte[] data) |
+
static StreamingRecognizeResponse |
+parseFrom(byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static StreamingRecognizeResponse |
+parseFrom(java.nio.ByteBuffer data) |
+
static StreamingRecognizeResponse |
+parseFrom(java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static StreamingRecognizeResponse |
+parseFrom(com.google.protobuf.ByteString data) |
+
static StreamingRecognizeResponse |
+parseFrom(com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static StreamingRecognizeResponse |
+parseFrom(com.google.protobuf.CodedInputStream input) |
+
static StreamingRecognizeResponse |
+parseFrom(com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static StreamingRecognizeResponse |
+parseFrom(java.io.InputStream input) |
+
static StreamingRecognizeResponse |
+parseFrom(java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static com.google.protobuf.Parser<StreamingRecognizeResponse> |
+parser() |
+
StreamingRecognizeResponse.Builder |
+toBuilder() |
+
void |
+writeTo(com.google.protobuf.CodedOutputStream output) |
+
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int ERROR_FIELD_NUMBER+
public static final int RESULTS_FIELD_NUMBER+
public static final int SPEECH_EVENT_TYPE_FIELD_NUMBER+
public final com.google.protobuf.UnknownFieldSet getUnknownFields()+
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()+
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasError()+
+ *Output-only* If set, returns a [google.rpc.Status][google.rpc.Status] message that + specifies the error for the operation. ++ +
.google.rpc.Status error = 1;hasError in interface StreamingRecognizeResponseOrBuilderpublic com.google.rpc.Status getError()+
+ *Output-only* If set, returns a [google.rpc.Status][google.rpc.Status] message that + specifies the error for the operation. ++ +
.google.rpc.Status error = 1;getError in interface StreamingRecognizeResponseOrBuilderpublic com.google.rpc.StatusOrBuilder getErrorOrBuilder()+
+ *Output-only* If set, returns a [google.rpc.Status][google.rpc.Status] message that + specifies the error for the operation. ++ +
.google.rpc.Status error = 1;getErrorOrBuilder in interface StreamingRecognizeResponseOrBuilderpublic java.util.List<StreamingRecognitionResult> getResultsList()+
+ *Output-only* This repeated list contains zero or more results that + correspond to consecutive portions of the audio currently being processed. + It contains zero or one `is_final=true` result (the newly settled portion), + followed by zero or more `is_final=false` results (the interim results). ++ +
repeated .google.cloud.speech.v1p1beta1.StreamingRecognitionResult results = 2;getResultsList in interface StreamingRecognizeResponseOrBuilderpublic java.util.List<? extends StreamingRecognitionResultOrBuilder> getResultsOrBuilderList()+
+ *Output-only* This repeated list contains zero or more results that + correspond to consecutive portions of the audio currently being processed. + It contains zero or one `is_final=true` result (the newly settled portion), + followed by zero or more `is_final=false` results (the interim results). ++ +
repeated .google.cloud.speech.v1p1beta1.StreamingRecognitionResult results = 2;getResultsOrBuilderList in interface StreamingRecognizeResponseOrBuilderpublic int getResultsCount()+
+ *Output-only* This repeated list contains zero or more results that + correspond to consecutive portions of the audio currently being processed. + It contains zero or one `is_final=true` result (the newly settled portion), + followed by zero or more `is_final=false` results (the interim results). ++ +
repeated .google.cloud.speech.v1p1beta1.StreamingRecognitionResult results = 2;getResultsCount in interface StreamingRecognizeResponseOrBuilderpublic StreamingRecognitionResult getResults(int index)+
+ *Output-only* This repeated list contains zero or more results that + correspond to consecutive portions of the audio currently being processed. + It contains zero or one `is_final=true` result (the newly settled portion), + followed by zero or more `is_final=false` results (the interim results). ++ +
repeated .google.cloud.speech.v1p1beta1.StreamingRecognitionResult results = 2;getResults in interface StreamingRecognizeResponseOrBuilderpublic StreamingRecognitionResultOrBuilder getResultsOrBuilder(int index)+
+ *Output-only* This repeated list contains zero or more results that + correspond to consecutive portions of the audio currently being processed. + It contains zero or one `is_final=true` result (the newly settled portion), + followed by zero or more `is_final=false` results (the interim results). ++ +
repeated .google.cloud.speech.v1p1beta1.StreamingRecognitionResult results = 2;getResultsOrBuilder in interface StreamingRecognizeResponseOrBuilderpublic int getSpeechEventTypeValue()+
+ *Output-only* Indicates the type of speech event. ++ +
.google.cloud.speech.v1p1beta1.StreamingRecognizeResponse.SpeechEventType speech_event_type = 4;getSpeechEventTypeValue in interface StreamingRecognizeResponseOrBuilderpublic StreamingRecognizeResponse.SpeechEventType getSpeechEventType()+
+ *Output-only* Indicates the type of speech event. ++ +
.google.cloud.speech.v1p1beta1.StreamingRecognizeResponse.SpeechEventType speech_event_type = 4;getSpeechEventType in interface StreamingRecognizeResponseOrBuilderpublic final boolean isInitialized()+
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException+
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()+
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)+
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()+
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static StreamingRecognizeResponse parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamingRecognizeResponse parseFrom(java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamingRecognizeResponse parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamingRecognizeResponse parseFrom(com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamingRecognizeResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamingRecognizeResponse parseFrom(byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamingRecognizeResponse parseFrom(java.io.InputStream input) + throws java.io.IOException+
java.io.IOExceptionpublic static StreamingRecognizeResponse parseFrom(java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
java.io.IOExceptionpublic static StreamingRecognizeResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException+
java.io.IOExceptionpublic static StreamingRecognizeResponse parseDelimitedFrom(java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
java.io.IOExceptionpublic static StreamingRecognizeResponse parseFrom(com.google.protobuf.CodedInputStream input) + throws java.io.IOException+
java.io.IOExceptionpublic static StreamingRecognizeResponse parseFrom(com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
java.io.IOExceptionpublic StreamingRecognizeResponse.Builder newBuilderForType()+
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static StreamingRecognizeResponse.Builder newBuilder()+
public static StreamingRecognizeResponse.Builder newBuilder(StreamingRecognizeResponse prototype)+
public StreamingRecognizeResponse.Builder toBuilder()+
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected StreamingRecognizeResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)+
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static StreamingRecognizeResponse getDefaultInstance()+
public static com.google.protobuf.Parser<StreamingRecognizeResponse> parser()+
public com.google.protobuf.Parser<StreamingRecognizeResponse> getParserForType()+
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public StreamingRecognizeResponse getDefaultInstanceForType()+
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic interface StreamingRecognizeResponseOrBuilder
+extends com.google.protobuf.MessageOrBuilder
+| Modifier and Type | +Method and Description | +
|---|---|
com.google.rpc.Status |
+getError()
+
+ *Output-only* If set, returns a [google.rpc.Status][google.rpc.Status] message that
+ specifies the error for the operation.
+ |
+
com.google.rpc.StatusOrBuilder |
+getErrorOrBuilder()
+
+ *Output-only* If set, returns a [google.rpc.Status][google.rpc.Status] message that
+ specifies the error for the operation.
+ |
+
StreamingRecognitionResult |
+getResults(int index)
+
+ *Output-only* This repeated list contains zero or more results that
+ correspond to consecutive portions of the audio currently being processed.
+ |
+
int |
+getResultsCount()
+
+ *Output-only* This repeated list contains zero or more results that
+ correspond to consecutive portions of the audio currently being processed.
+ |
+
java.util.List<StreamingRecognitionResult> |
+getResultsList()
+
+ *Output-only* This repeated list contains zero or more results that
+ correspond to consecutive portions of the audio currently being processed.
+ |
+
StreamingRecognitionResultOrBuilder |
+getResultsOrBuilder(int index)
+
+ *Output-only* This repeated list contains zero or more results that
+ correspond to consecutive portions of the audio currently being processed.
+ |
+
java.util.List<? extends StreamingRecognitionResultOrBuilder> |
+getResultsOrBuilderList()
+
+ *Output-only* This repeated list contains zero or more results that
+ correspond to consecutive portions of the audio currently being processed.
+ |
+
StreamingRecognizeResponse.SpeechEventType |
+getSpeechEventType()
+
+ *Output-only* Indicates the type of speech event.
+ |
+
int |
+getSpeechEventTypeValue()
+
+ *Output-only* Indicates the type of speech event.
+ |
+
boolean |
+hasError()
+
+ *Output-only* If set, returns a [google.rpc.Status][google.rpc.Status] message that
+ specifies the error for the operation.
+ |
+
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofisInitializedboolean hasError()+
+ *Output-only* If set, returns a [google.rpc.Status][google.rpc.Status] message that + specifies the error for the operation. ++ +
.google.rpc.Status error = 1;com.google.rpc.Status getError()+
+ *Output-only* If set, returns a [google.rpc.Status][google.rpc.Status] message that + specifies the error for the operation. ++ +
.google.rpc.Status error = 1;com.google.rpc.StatusOrBuilder getErrorOrBuilder()+
+ *Output-only* If set, returns a [google.rpc.Status][google.rpc.Status] message that + specifies the error for the operation. ++ +
.google.rpc.Status error = 1;java.util.List<StreamingRecognitionResult> getResultsList()+
+ *Output-only* This repeated list contains zero or more results that + correspond to consecutive portions of the audio currently being processed. + It contains zero or one `is_final=true` result (the newly settled portion), + followed by zero or more `is_final=false` results (the interim results). ++ +
repeated .google.cloud.speech.v1p1beta1.StreamingRecognitionResult results = 2;StreamingRecognitionResult getResults(int index)+
+ *Output-only* This repeated list contains zero or more results that + correspond to consecutive portions of the audio currently being processed. + It contains zero or one `is_final=true` result (the newly settled portion), + followed by zero or more `is_final=false` results (the interim results). ++ +
repeated .google.cloud.speech.v1p1beta1.StreamingRecognitionResult results = 2;int getResultsCount()+
+ *Output-only* This repeated list contains zero or more results that + correspond to consecutive portions of the audio currently being processed. + It contains zero or one `is_final=true` result (the newly settled portion), + followed by zero or more `is_final=false` results (the interim results). ++ +
repeated .google.cloud.speech.v1p1beta1.StreamingRecognitionResult results = 2;java.util.List<? extends StreamingRecognitionResultOrBuilder> getResultsOrBuilderList()+
+ *Output-only* This repeated list contains zero or more results that + correspond to consecutive portions of the audio currently being processed. + It contains zero or one `is_final=true` result (the newly settled portion), + followed by zero or more `is_final=false` results (the interim results). ++ +
repeated .google.cloud.speech.v1p1beta1.StreamingRecognitionResult results = 2;StreamingRecognitionResultOrBuilder getResultsOrBuilder(int index)+
+ *Output-only* This repeated list contains zero or more results that + correspond to consecutive portions of the audio currently being processed. + It contains zero or one `is_final=true` result (the newly settled portion), + followed by zero or more `is_final=false` results (the interim results). ++ +
repeated .google.cloud.speech.v1p1beta1.StreamingRecognitionResult results = 2;int getSpeechEventTypeValue()+
+ *Output-only* Indicates the type of speech event. ++ +
.google.cloud.speech.v1p1beta1.StreamingRecognizeResponse.SpeechEventType speech_event_type = 4;StreamingRecognizeResponse.SpeechEventType getSpeechEventType()+
+ *Output-only* Indicates the type of speech event. ++ +
.google.cloud.speech.v1p1beta1.StreamingRecognizeResponse.SpeechEventType speech_event_type = 4;public static final class WordInfo.Builder +extends com.google.protobuf.GeneratedMessageV3.Builder<WordInfo.Builder> +implements WordInfoOrBuilder+
+ Word-specific information for recognized words. ++ + Protobuf type
google.cloud.speech.v1p1beta1.WordInfo| Modifier and Type | +Method and Description | +
|---|---|
WordInfo.Builder |
+addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) |
+
WordInfo |
+build() |
+
WordInfo |
+buildPartial() |
+
WordInfo.Builder |
+clear() |
+
WordInfo.Builder |
+clearEndTime()
+
+ *Output-only* Time offset relative to the beginning of the audio,
+ and corresponding to the end of the spoken word.
+ |
+
WordInfo.Builder |
+clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
+
WordInfo.Builder |
+clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
+
WordInfo.Builder |
+clearStartTime()
+
+ *Output-only* Time offset relative to the beginning of the audio,
+ and corresponding to the start of the spoken word.
+ |
+
WordInfo.Builder |
+clearWord()
+
+ *Output-only* The word corresponding to this set of information.
+ |
+
WordInfo.Builder |
+clone() |
+
WordInfo |
+getDefaultInstanceForType() |
+
static com.google.protobuf.Descriptors.Descriptor |
+getDescriptor() |
+
com.google.protobuf.Descriptors.Descriptor |
+getDescriptorForType() |
+
com.google.protobuf.Duration |
+getEndTime()
+
+ *Output-only* Time offset relative to the beginning of the audio,
+ and corresponding to the end of the spoken word.
+ |
+
com.google.protobuf.Duration.Builder |
+getEndTimeBuilder()
+
+ *Output-only* Time offset relative to the beginning of the audio,
+ and corresponding to the end of the spoken word.
+ |
+
com.google.protobuf.DurationOrBuilder |
+getEndTimeOrBuilder()
+
+ *Output-only* Time offset relative to the beginning of the audio,
+ and corresponding to the end of the spoken word.
+ |
+
com.google.protobuf.Duration |
+getStartTime()
+
+ *Output-only* Time offset relative to the beginning of the audio,
+ and corresponding to the start of the spoken word.
+ |
+
com.google.protobuf.Duration.Builder |
+getStartTimeBuilder()
+
+ *Output-only* Time offset relative to the beginning of the audio,
+ and corresponding to the start of the spoken word.
+ |
+
com.google.protobuf.DurationOrBuilder |
+getStartTimeOrBuilder()
+
+ *Output-only* Time offset relative to the beginning of the audio,
+ and corresponding to the start of the spoken word.
+ |
+
java.lang.String |
+getWord()
+
+ *Output-only* The word corresponding to this set of information.
+ |
+
com.google.protobuf.ByteString |
+getWordBytes()
+
+ *Output-only* The word corresponding to this set of information.
+ |
+
boolean |
+hasEndTime()
+
+ *Output-only* Time offset relative to the beginning of the audio,
+ and corresponding to the end of the spoken word.
+ |
+
boolean |
+hasStartTime()
+
+ *Output-only* Time offset relative to the beginning of the audio,
+ and corresponding to the start of the spoken word.
+ |
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
+internalGetFieldAccessorTable() |
+
boolean |
+isInitialized() |
+
WordInfo.Builder |
+mergeEndTime(com.google.protobuf.Duration value)
+
+ *Output-only* Time offset relative to the beginning of the audio,
+ and corresponding to the end of the spoken word.
+ |
+
WordInfo.Builder |
+mergeFrom(com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
WordInfo.Builder |
+mergeFrom(com.google.protobuf.Message other) |
+
WordInfo.Builder |
+mergeFrom(WordInfo other) |
+
WordInfo.Builder |
+mergeStartTime(com.google.protobuf.Duration value)
+
+ *Output-only* Time offset relative to the beginning of the audio,
+ and corresponding to the start of the spoken word.
+ |
+
WordInfo.Builder |
+mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
+
WordInfo.Builder |
+setEndTime(com.google.protobuf.Duration.Builder builderForValue)
+
+ *Output-only* Time offset relative to the beginning of the audio,
+ and corresponding to the end of the spoken word.
+ |
+
WordInfo.Builder |
+setEndTime(com.google.protobuf.Duration value)
+
+ *Output-only* Time offset relative to the beginning of the audio,
+ and corresponding to the end of the spoken word.
+ |
+
WordInfo.Builder |
+setField(com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) |
+
WordInfo.Builder |
+setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
+ int index,
+ java.lang.Object value) |
+
WordInfo.Builder |
+setStartTime(com.google.protobuf.Duration.Builder builderForValue)
+
+ *Output-only* Time offset relative to the beginning of the audio,
+ and corresponding to the start of the spoken word.
+ |
+
WordInfo.Builder |
+setStartTime(com.google.protobuf.Duration value)
+
+ *Output-only* Time offset relative to the beginning of the audio,
+ and corresponding to the start of the spoken word.
+ |
+
WordInfo.Builder |
+setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
+
WordInfo.Builder |
+setWord(java.lang.String value)
+
+ *Output-only* The word corresponding to this set of information.
+ |
+
WordInfo.Builder |
+setWordBytes(com.google.protobuf.ByteString value)
+
+ *Output-only* The word corresponding to this set of information.
+ |
+
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()+
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<WordInfo.Builder>public WordInfo.Builder clear()+
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<WordInfo.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()+
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<WordInfo.Builder>public WordInfo getDefaultInstanceForType()+
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic WordInfo build()+
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic WordInfo buildPartial()+
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic WordInfo.Builder clone()+
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<WordInfo.Builder>public WordInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value)+
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<WordInfo.Builder>public WordInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)+
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<WordInfo.Builder>public WordInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)+
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<WordInfo.Builder>public WordInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value)+
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<WordInfo.Builder>public WordInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value)+
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<WordInfo.Builder>public WordInfo.Builder mergeFrom(com.google.protobuf.Message other)+
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<WordInfo.Builder>public WordInfo.Builder mergeFrom(WordInfo other)+
public final boolean isInitialized()+
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<WordInfo.Builder>public WordInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<WordInfo.Builder>java.io.IOExceptionpublic boolean hasStartTime()+
+ *Output-only* Time offset relative to the beginning of the audio, + and corresponding to the start of the spoken word. + This field is only set if `enable_word_time_offsets=true` and only + in the top hypothesis. + This is an experimental feature and the accuracy of the time offset can + vary. ++ +
.google.protobuf.Duration start_time = 1;hasStartTime in interface WordInfoOrBuilderpublic com.google.protobuf.Duration getStartTime()+
+ *Output-only* Time offset relative to the beginning of the audio, + and corresponding to the start of the spoken word. + This field is only set if `enable_word_time_offsets=true` and only + in the top hypothesis. + This is an experimental feature and the accuracy of the time offset can + vary. ++ +
.google.protobuf.Duration start_time = 1;getStartTime in interface WordInfoOrBuilderpublic WordInfo.Builder setStartTime(com.google.protobuf.Duration value)+
+ *Output-only* Time offset relative to the beginning of the audio, + and corresponding to the start of the spoken word. + This field is only set if `enable_word_time_offsets=true` and only + in the top hypothesis. + This is an experimental feature and the accuracy of the time offset can + vary. ++ +
.google.protobuf.Duration start_time = 1;public WordInfo.Builder setStartTime(com.google.protobuf.Duration.Builder builderForValue)+
+ *Output-only* Time offset relative to the beginning of the audio, + and corresponding to the start of the spoken word. + This field is only set if `enable_word_time_offsets=true` and only + in the top hypothesis. + This is an experimental feature and the accuracy of the time offset can + vary. ++ +
.google.protobuf.Duration start_time = 1;public WordInfo.Builder mergeStartTime(com.google.protobuf.Duration value)+
+ *Output-only* Time offset relative to the beginning of the audio, + and corresponding to the start of the spoken word. + This field is only set if `enable_word_time_offsets=true` and only + in the top hypothesis. + This is an experimental feature and the accuracy of the time offset can + vary. ++ +
.google.protobuf.Duration start_time = 1;public WordInfo.Builder clearStartTime()+
+ *Output-only* Time offset relative to the beginning of the audio, + and corresponding to the start of the spoken word. + This field is only set if `enable_word_time_offsets=true` and only + in the top hypothesis. + This is an experimental feature and the accuracy of the time offset can + vary. ++ +
.google.protobuf.Duration start_time = 1;public com.google.protobuf.Duration.Builder getStartTimeBuilder()+
+ *Output-only* Time offset relative to the beginning of the audio, + and corresponding to the start of the spoken word. + This field is only set if `enable_word_time_offsets=true` and only + in the top hypothesis. + This is an experimental feature and the accuracy of the time offset can + vary. ++ +
.google.protobuf.Duration start_time = 1;public com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder()+
+ *Output-only* Time offset relative to the beginning of the audio, + and corresponding to the start of the spoken word. + This field is only set if `enable_word_time_offsets=true` and only + in the top hypothesis. + This is an experimental feature and the accuracy of the time offset can + vary. ++ +
.google.protobuf.Duration start_time = 1;getStartTimeOrBuilder in interface WordInfoOrBuilderpublic boolean hasEndTime()+
+ *Output-only* Time offset relative to the beginning of the audio, + and corresponding to the end of the spoken word. + This field is only set if `enable_word_time_offsets=true` and only + in the top hypothesis. + This is an experimental feature and the accuracy of the time offset can + vary. ++ +
.google.protobuf.Duration end_time = 2;hasEndTime in interface WordInfoOrBuilderpublic com.google.protobuf.Duration getEndTime()+
+ *Output-only* Time offset relative to the beginning of the audio, + and corresponding to the end of the spoken word. + This field is only set if `enable_word_time_offsets=true` and only + in the top hypothesis. + This is an experimental feature and the accuracy of the time offset can + vary. ++ +
.google.protobuf.Duration end_time = 2;getEndTime in interface WordInfoOrBuilderpublic WordInfo.Builder setEndTime(com.google.protobuf.Duration value)+
+ *Output-only* Time offset relative to the beginning of the audio, + and corresponding to the end of the spoken word. + This field is only set if `enable_word_time_offsets=true` and only + in the top hypothesis. + This is an experimental feature and the accuracy of the time offset can + vary. ++ +
.google.protobuf.Duration end_time = 2;public WordInfo.Builder setEndTime(com.google.protobuf.Duration.Builder builderForValue)+
+ *Output-only* Time offset relative to the beginning of the audio, + and corresponding to the end of the spoken word. + This field is only set if `enable_word_time_offsets=true` and only + in the top hypothesis. + This is an experimental feature and the accuracy of the time offset can + vary. ++ +
.google.protobuf.Duration end_time = 2;public WordInfo.Builder mergeEndTime(com.google.protobuf.Duration value)+
+ *Output-only* Time offset relative to the beginning of the audio, + and corresponding to the end of the spoken word. + This field is only set if `enable_word_time_offsets=true` and only + in the top hypothesis. + This is an experimental feature and the accuracy of the time offset can + vary. ++ +
.google.protobuf.Duration end_time = 2;public WordInfo.Builder clearEndTime()+
+ *Output-only* Time offset relative to the beginning of the audio, + and corresponding to the end of the spoken word. + This field is only set if `enable_word_time_offsets=true` and only + in the top hypothesis. + This is an experimental feature and the accuracy of the time offset can + vary. ++ +
.google.protobuf.Duration end_time = 2;public com.google.protobuf.Duration.Builder getEndTimeBuilder()+
+ *Output-only* Time offset relative to the beginning of the audio, + and corresponding to the end of the spoken word. + This field is only set if `enable_word_time_offsets=true` and only + in the top hypothesis. + This is an experimental feature and the accuracy of the time offset can + vary. ++ +
.google.protobuf.Duration end_time = 2;public com.google.protobuf.DurationOrBuilder getEndTimeOrBuilder()+
+ *Output-only* Time offset relative to the beginning of the audio, + and corresponding to the end of the spoken word. + This field is only set if `enable_word_time_offsets=true` and only + in the top hypothesis. + This is an experimental feature and the accuracy of the time offset can + vary. ++ +
.google.protobuf.Duration end_time = 2;getEndTimeOrBuilder in interface WordInfoOrBuilderpublic java.lang.String getWord()+
+ *Output-only* The word corresponding to this set of information. ++ +
string word = 3;getWord in interface WordInfoOrBuilderpublic com.google.protobuf.ByteString getWordBytes()+
+ *Output-only* The word corresponding to this set of information. ++ +
string word = 3;getWordBytes in interface WordInfoOrBuilderpublic WordInfo.Builder setWord(java.lang.String value)+
+ *Output-only* The word corresponding to this set of information. ++ +
string word = 3;public WordInfo.Builder clearWord()+
+ *Output-only* The word corresponding to this set of information. ++ +
string word = 3;public WordInfo.Builder setWordBytes(com.google.protobuf.ByteString value)+
+ *Output-only* The word corresponding to this set of information. ++ +
string word = 3;public final WordInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)+
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<WordInfo.Builder>public final WordInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)+
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<WordInfo.Builder>public final class WordInfo +extends com.google.protobuf.GeneratedMessageV3 +implements WordInfoOrBuilder+
+ Word-specific information for recognized words. ++ + Protobuf type
google.cloud.speech.v1p1beta1.WordInfo| Modifier and Type | +Class and Description | +
|---|---|
static class |
+WordInfo.Builder
+
+ Word-specific information for recognized words.
+ |
+
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | +Field and Description | +
|---|---|
static int |
+END_TIME_FIELD_NUMBER |
+
static int |
+START_TIME_FIELD_NUMBER |
+
static int |
+WORD_FIELD_NUMBER |
+
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | +Method and Description | +
|---|---|
boolean |
+equals(java.lang.Object obj) |
+
static WordInfo |
+getDefaultInstance() |
+
WordInfo |
+getDefaultInstanceForType() |
+
static com.google.protobuf.Descriptors.Descriptor |
+getDescriptor() |
+
com.google.protobuf.Duration |
+getEndTime()
+
+ *Output-only* Time offset relative to the beginning of the audio,
+ and corresponding to the end of the spoken word.
+ |
+
com.google.protobuf.DurationOrBuilder |
+getEndTimeOrBuilder()
+
+ *Output-only* Time offset relative to the beginning of the audio,
+ and corresponding to the end of the spoken word.
+ |
+
com.google.protobuf.Parser<WordInfo> |
+getParserForType() |
+
int |
+getSerializedSize() |
+
com.google.protobuf.Duration |
+getStartTime()
+
+ *Output-only* Time offset relative to the beginning of the audio,
+ and corresponding to the start of the spoken word.
+ |
+
com.google.protobuf.DurationOrBuilder |
+getStartTimeOrBuilder()
+
+ *Output-only* Time offset relative to the beginning of the audio,
+ and corresponding to the start of the spoken word.
+ |
+
com.google.protobuf.UnknownFieldSet |
+getUnknownFields() |
+
java.lang.String |
+getWord()
+
+ *Output-only* The word corresponding to this set of information.
+ |
+
com.google.protobuf.ByteString |
+getWordBytes()
+
+ *Output-only* The word corresponding to this set of information.
+ |
+
boolean |
+hasEndTime()
+
+ *Output-only* Time offset relative to the beginning of the audio,
+ and corresponding to the end of the spoken word.
+ |
+
int |
+hashCode() |
+
boolean |
+hasStartTime()
+
+ *Output-only* Time offset relative to the beginning of the audio,
+ and corresponding to the start of the spoken word.
+ |
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
+internalGetFieldAccessorTable() |
+
boolean |
+isInitialized() |
+
static WordInfo.Builder |
+newBuilder() |
+
static WordInfo.Builder |
+newBuilder(WordInfo prototype) |
+
WordInfo.Builder |
+newBuilderForType() |
+
protected WordInfo.Builder |
+newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
+
static WordInfo |
+parseDelimitedFrom(java.io.InputStream input) |
+
static WordInfo |
+parseDelimitedFrom(java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static WordInfo |
+parseFrom(byte[] data) |
+
static WordInfo |
+parseFrom(byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static WordInfo |
+parseFrom(java.nio.ByteBuffer data) |
+
static WordInfo |
+parseFrom(java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static WordInfo |
+parseFrom(com.google.protobuf.ByteString data) |
+
static WordInfo |
+parseFrom(com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static WordInfo |
+parseFrom(com.google.protobuf.CodedInputStream input) |
+
static WordInfo |
+parseFrom(com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static WordInfo |
+parseFrom(java.io.InputStream input) |
+
static WordInfo |
+parseFrom(java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
+
static com.google.protobuf.Parser<WordInfo> |
+parser() |
+
WordInfo.Builder |
+toBuilder() |
+
void |
+writeTo(com.google.protobuf.CodedOutputStream output) |
+
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int START_TIME_FIELD_NUMBER+
public static final int END_TIME_FIELD_NUMBER+
public static final int WORD_FIELD_NUMBER+
public final com.google.protobuf.UnknownFieldSet getUnknownFields()+
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()+
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasStartTime()+
+ *Output-only* Time offset relative to the beginning of the audio, + and corresponding to the start of the spoken word. + This field is only set if `enable_word_time_offsets=true` and only + in the top hypothesis. + This is an experimental feature and the accuracy of the time offset can + vary. ++ +
.google.protobuf.Duration start_time = 1;hasStartTime in interface WordInfoOrBuilderpublic com.google.protobuf.Duration getStartTime()+
+ *Output-only* Time offset relative to the beginning of the audio, + and corresponding to the start of the spoken word. + This field is only set if `enable_word_time_offsets=true` and only + in the top hypothesis. + This is an experimental feature and the accuracy of the time offset can + vary. ++ +
.google.protobuf.Duration start_time = 1;getStartTime in interface WordInfoOrBuilderpublic com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder()+
+ *Output-only* Time offset relative to the beginning of the audio, + and corresponding to the start of the spoken word. + This field is only set if `enable_word_time_offsets=true` and only + in the top hypothesis. + This is an experimental feature and the accuracy of the time offset can + vary. ++ +
.google.protobuf.Duration start_time = 1;getStartTimeOrBuilder in interface WordInfoOrBuilderpublic boolean hasEndTime()+
+ *Output-only* Time offset relative to the beginning of the audio, + and corresponding to the end of the spoken word. + This field is only set if `enable_word_time_offsets=true` and only + in the top hypothesis. + This is an experimental feature and the accuracy of the time offset can + vary. ++ +
.google.protobuf.Duration end_time = 2;hasEndTime in interface WordInfoOrBuilderpublic com.google.protobuf.Duration getEndTime()+
+ *Output-only* Time offset relative to the beginning of the audio, + and corresponding to the end of the spoken word. + This field is only set if `enable_word_time_offsets=true` and only + in the top hypothesis. + This is an experimental feature and the accuracy of the time offset can + vary. ++ +
.google.protobuf.Duration end_time = 2;getEndTime in interface WordInfoOrBuilderpublic com.google.protobuf.DurationOrBuilder getEndTimeOrBuilder()+
+ *Output-only* Time offset relative to the beginning of the audio, + and corresponding to the end of the spoken word. + This field is only set if `enable_word_time_offsets=true` and only + in the top hypothesis. + This is an experimental feature and the accuracy of the time offset can + vary. ++ +
.google.protobuf.Duration end_time = 2;getEndTimeOrBuilder in interface WordInfoOrBuilderpublic java.lang.String getWord()+
+ *Output-only* The word corresponding to this set of information. ++ +
string word = 3;getWord in interface WordInfoOrBuilderpublic com.google.protobuf.ByteString getWordBytes()+
+ *Output-only* The word corresponding to this set of information. ++ +
string word = 3;getWordBytes in interface WordInfoOrBuilderpublic final boolean isInitialized()+
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException+
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()+
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)+
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()+
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static WordInfo parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WordInfo parseFrom(java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WordInfo parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WordInfo parseFrom(com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WordInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WordInfo parseFrom(byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException+
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WordInfo parseFrom(java.io.InputStream input) + throws java.io.IOException+
java.io.IOExceptionpublic static WordInfo parseFrom(java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
java.io.IOExceptionpublic static WordInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException+
java.io.IOExceptionpublic static WordInfo parseDelimitedFrom(java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
java.io.IOExceptionpublic static WordInfo parseFrom(com.google.protobuf.CodedInputStream input) + throws java.io.IOException+
java.io.IOExceptionpublic static WordInfo parseFrom(com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException+
java.io.IOExceptionpublic WordInfo.Builder newBuilderForType()+
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static WordInfo.Builder newBuilder()+
public static WordInfo.Builder newBuilder(WordInfo prototype)+
public WordInfo.Builder toBuilder()+
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected WordInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)+
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static WordInfo getDefaultInstance()+
public static com.google.protobuf.Parser<WordInfo> parser()+
public com.google.protobuf.Parser<WordInfo> getParserForType()+
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public WordInfo getDefaultInstanceForType()+
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic interface WordInfoOrBuilder
+extends com.google.protobuf.MessageOrBuilder
+| Modifier and Type | +Method and Description | +
|---|---|
com.google.protobuf.Duration |
+getEndTime()
+
+ *Output-only* Time offset relative to the beginning of the audio,
+ and corresponding to the end of the spoken word.
+ |
+
com.google.protobuf.DurationOrBuilder |
+getEndTimeOrBuilder()
+
+ *Output-only* Time offset relative to the beginning of the audio,
+ and corresponding to the end of the spoken word.
+ |
+
com.google.protobuf.Duration |
+getStartTime()
+
+ *Output-only* Time offset relative to the beginning of the audio,
+ and corresponding to the start of the spoken word.
+ |
+
com.google.protobuf.DurationOrBuilder |
+getStartTimeOrBuilder()
+
+ *Output-only* Time offset relative to the beginning of the audio,
+ and corresponding to the start of the spoken word.
+ |
+
java.lang.String |
+getWord()
+
+ *Output-only* The word corresponding to this set of information.
+ |
+
com.google.protobuf.ByteString |
+getWordBytes()
+
+ *Output-only* The word corresponding to this set of information.
+ |
+
boolean |
+hasEndTime()
+
+ *Output-only* Time offset relative to the beginning of the audio,
+ and corresponding to the end of the spoken word.
+ |
+
boolean |
+hasStartTime()
+
+ *Output-only* Time offset relative to the beginning of the audio,
+ and corresponding to the start of the spoken word.
+ |
+
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofisInitializedboolean hasStartTime()+
+ *Output-only* Time offset relative to the beginning of the audio, + and corresponding to the start of the spoken word. + This field is only set if `enable_word_time_offsets=true` and only + in the top hypothesis. + This is an experimental feature and the accuracy of the time offset can + vary. ++ +
.google.protobuf.Duration start_time = 1;com.google.protobuf.Duration getStartTime()+
+ *Output-only* Time offset relative to the beginning of the audio, + and corresponding to the start of the spoken word. + This field is only set if `enable_word_time_offsets=true` and only + in the top hypothesis. + This is an experimental feature and the accuracy of the time offset can + vary. ++ +
.google.protobuf.Duration start_time = 1;com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder()+
+ *Output-only* Time offset relative to the beginning of the audio, + and corresponding to the start of the spoken word. + This field is only set if `enable_word_time_offsets=true` and only + in the top hypothesis. + This is an experimental feature and the accuracy of the time offset can + vary. ++ +
.google.protobuf.Duration start_time = 1;boolean hasEndTime()+
+ *Output-only* Time offset relative to the beginning of the audio, + and corresponding to the end of the spoken word. + This field is only set if `enable_word_time_offsets=true` and only + in the top hypothesis. + This is an experimental feature and the accuracy of the time offset can + vary. ++ +
.google.protobuf.Duration end_time = 2;com.google.protobuf.Duration getEndTime()+
+ *Output-only* Time offset relative to the beginning of the audio, + and corresponding to the end of the spoken word. + This field is only set if `enable_word_time_offsets=true` and only + in the top hypothesis. + This is an experimental feature and the accuracy of the time offset can + vary. ++ +
.google.protobuf.Duration end_time = 2;com.google.protobuf.DurationOrBuilder getEndTimeOrBuilder()+
+ *Output-only* Time offset relative to the beginning of the audio, + and corresponding to the end of the spoken word. + This field is only set if `enable_word_time_offsets=true` and only + in the top hypothesis. + This is an experimental feature and the accuracy of the time offset can + vary. ++ +
.google.protobuf.Duration end_time = 2;java.lang.String getWord()+
+ *Output-only* The word corresponding to this set of information. ++ +
string word = 3;com.google.protobuf.ByteString getWordBytes()+
+ *Output-only* The word corresponding to this set of information. ++ +
string word = 3;| Interface | +Description | +
|---|---|
| LongRunningRecognizeMetadataOrBuilder | ++ |
| LongRunningRecognizeRequestOrBuilder | ++ |
| LongRunningRecognizeResponseOrBuilder | ++ |
| RecognitionAudioOrBuilder | ++ |
| RecognitionConfigOrBuilder | ++ |
| RecognizeRequestOrBuilder | ++ |
| RecognizeResponseOrBuilder | ++ |
| SpeechContextOrBuilder | ++ |
| SpeechRecognitionAlternativeOrBuilder | ++ |
| SpeechRecognitionResultOrBuilder | ++ |
| StreamingRecognitionConfigOrBuilder | ++ |
| StreamingRecognitionResultOrBuilder | ++ |
| StreamingRecognizeRequestOrBuilder | ++ |
| StreamingRecognizeResponseOrBuilder | ++ |
| WordInfoOrBuilder | ++ |
| Class | +Description | +
|---|---|
| LongRunningRecognizeMetadata | +
+
+ Describes the progress of a long-running `LongRunningRecognize` call.
+ |
+
| LongRunningRecognizeMetadata.Builder | +
+
+ Describes the progress of a long-running `LongRunningRecognize` call.
+ |
+
| LongRunningRecognizeRequest | +
+
+ The top-level message sent by the client for the `LongRunningRecognize`
+ method.
+ |
+
| LongRunningRecognizeRequest.Builder | +
+
+ The top-level message sent by the client for the `LongRunningRecognize`
+ method.
+ |
+
| LongRunningRecognizeResponse | +
+
+ The only message returned to the client by the `LongRunningRecognize` method.
+ |
+
| LongRunningRecognizeResponse.Builder | +
+
+ The only message returned to the client by the `LongRunningRecognize` method.
+ |
+
| RecognitionAudio | +
+
+ Contains audio data in the encoding specified in the `RecognitionConfig`.
+ |
+
| RecognitionAudio.Builder | +
+
+ Contains audio data in the encoding specified in the `RecognitionConfig`.
+ |
+
| RecognitionConfig | +
+
+ Provides information to the recognizer that specifies how to process the
+ request.
+ |
+
| RecognitionConfig.Builder | +
+
+ Provides information to the recognizer that specifies how to process the
+ request.
+ |
+
| RecognizeRequest | +
+
+ The top-level message sent by the client for the `Recognize` method.
+ |
+
| RecognizeRequest.Builder | +
+
+ The top-level message sent by the client for the `Recognize` method.
+ |
+
| RecognizeResponse | +
+
+ The only message returned to the client by the `Recognize` method.
+ |
+
| RecognizeResponse.Builder | +
+
+ The only message returned to the client by the `Recognize` method.
+ |
+
| SpeechContext | +
+
+ Provides "hints" to the speech recognizer to favor specific words and phrases
+ in the results.
+ |
+
| SpeechContext.Builder | +
+
+ Provides "hints" to the speech recognizer to favor specific words and phrases
+ in the results.
+ |
+
| SpeechProto | ++ |
| SpeechRecognitionAlternative | +
+
+ Alternative hypotheses (a.k.a.
+ |
+
| SpeechRecognitionAlternative.Builder | +
+
+ Alternative hypotheses (a.k.a.
+ |
+
| SpeechRecognitionResult | +
+
+ A speech recognition result corresponding to a portion of the audio.
+ |
+
| SpeechRecognitionResult.Builder | +
+
+ A speech recognition result corresponding to a portion of the audio.
+ |
+
| StreamingRecognitionConfig | +
+
+ Provides information to the recognizer that specifies how to process the
+ request.
+ |
+
| StreamingRecognitionConfig.Builder | +
+
+ Provides information to the recognizer that specifies how to process the
+ request.
+ |
+
| StreamingRecognitionResult | +
+
+ A streaming speech recognition result corresponding to a portion of the audio
+ that is currently being processed.
+ |
+
| StreamingRecognitionResult.Builder | +
+
+ A streaming speech recognition result corresponding to a portion of the audio
+ that is currently being processed.
+ |
+
| StreamingRecognizeRequest | +
+
+ The top-level message sent by the client for the `StreamingRecognize` method.
+ |
+
| StreamingRecognizeRequest.Builder | +
+
+ The top-level message sent by the client for the `StreamingRecognize` method.
+ |
+
| StreamingRecognizeResponse | +
+
+ `StreamingRecognizeResponse` is the only message returned to the client by
+ `StreamingRecognize`.
+ |
+
| StreamingRecognizeResponse.Builder | +
+
+ `StreamingRecognizeResponse` is the only message returned to the client by
+ `StreamingRecognize`.
+ |
+
| WordInfo | +
+
+ Word-specific information for recognized words.
+ |
+
| WordInfo.Builder | +
+
+ Word-specific information for recognized words.
+ |
+
| Enum | +Description | +
|---|---|
| RecognitionAudio.AudioSourceCase | ++ |
| RecognitionConfig.AudioEncoding | +
+
+ The encoding of the audio data sent in the request.
+ |
+
| StreamingRecognizeRequest.StreamingRequestCase | ++ |
| StreamingRecognizeResponse.SpeechEventType | +
+
+ Indicates the type of speech event.
+ |
+
| Modifier and Type | +Constant Field | +Value | +
|---|---|---|
+
+public static final int |
+LAST_UPDATE_TIME_FIELD_NUMBER |
+3 |
+
+
+public static final int |
+PROGRESS_PERCENT_FIELD_NUMBER |
+1 |
+
+
+public static final int |
+START_TIME_FIELD_NUMBER |
+2 |
+
| Modifier and Type | +Constant Field | +Value | +
|---|---|---|
+
+public static final int |
+AUDIO_FIELD_NUMBER |
+2 |
+
+
+public static final int |
+CONFIG_FIELD_NUMBER |
+1 |
+
| Modifier and Type | +Constant Field | +Value | +
|---|---|---|
+
+public static final int |
+RESULTS_FIELD_NUMBER |
+2 |
+
| Modifier and Type | +Constant Field | +Value | +
|---|---|---|
+
+public static final int |
+CONTENT_FIELD_NUMBER |
+1 |
+
+
+public static final int |
+URI_FIELD_NUMBER |
+2 |
+
| Modifier and Type | +Constant Field | +Value | +
|---|---|---|
+
+public static final int |
+ENABLE_WORD_TIME_OFFSETS_FIELD_NUMBER |
+8 |
+
+
+public static final int |
+ENCODING_FIELD_NUMBER |
+1 |
+
+
+public static final int |
+LANGUAGE_CODE_FIELD_NUMBER |
+3 |
+
+
+public static final int |
+MAX_ALTERNATIVES_FIELD_NUMBER |
+4 |
+
+
+public static final int |
+PROFANITY_FILTER_FIELD_NUMBER |
+5 |
+
+
+public static final int |
+SAMPLE_RATE_HERTZ_FIELD_NUMBER |
+2 |
+
+
+public static final int |
+SPEECH_CONTEXTS_FIELD_NUMBER |
+6 |
+
| Modifier and Type | +Constant Field | +Value | +
|---|---|---|
+
+public static final int |
+AMR_VALUE |
+4 |
+
+
+public static final int |
+AMR_WB_VALUE |
+5 |
+
+
+public static final int |
+ENCODING_UNSPECIFIED_VALUE |
+0 |
+
+
+public static final int |
+FLAC_VALUE |
+2 |
+
+
+public static final int |
+LINEAR16_VALUE |
+1 |
+
+
+public static final int |
+MULAW_VALUE |
+3 |
+
+
+public static final int |
+OGG_OPUS_VALUE |
+6 |
+
+
+public static final int |
+SPEEX_WITH_HEADER_BYTE_VALUE |
+7 |
+
| Modifier and Type | +Constant Field | +Value | +
|---|---|---|
+
+public static final int |
+AUDIO_FIELD_NUMBER |
+2 |
+
+
+public static final int |
+CONFIG_FIELD_NUMBER |
+1 |
+
| Modifier and Type | +Constant Field | +Value | +
|---|---|---|
+
+public static final int |
+RESULTS_FIELD_NUMBER |
+2 |
+
| Modifier and Type | +Constant Field | +Value | +
|---|---|---|
+
+public static final int |
+PHRASES_FIELD_NUMBER |
+1 |
+
| Modifier and Type | +Constant Field | +Value | +
|---|---|---|
+
+public static final int |
+CONFIDENCE_FIELD_NUMBER |
+2 |
+
+
+public static final int |
+TRANSCRIPT_FIELD_NUMBER |
+1 |
+
+
+public static final int |
+WORDS_FIELD_NUMBER |
+3 |
+
| Modifier and Type | +Constant Field | +Value | +
|---|---|---|
+
+public static final int |
+ALTERNATIVES_FIELD_NUMBER |
+1 |
+
| Modifier and Type | +Constant Field | +Value | +
|---|---|---|
+
+public static final int |
+CONFIG_FIELD_NUMBER |
+1 |
+
+
+public static final int |
+INTERIM_RESULTS_FIELD_NUMBER |
+3 |
+
+
+public static final int |
+SINGLE_UTTERANCE_FIELD_NUMBER |
+2 |
+
| Modifier and Type | +Constant Field | +Value | +
|---|---|---|
+
+public static final int |
+ALTERNATIVES_FIELD_NUMBER |
+1 |
+
+
+public static final int |
+IS_FINAL_FIELD_NUMBER |
+2 |
+
+
+public static final int |
+STABILITY_FIELD_NUMBER |
+3 |
+
| Modifier and Type | +Constant Field | +Value | +
|---|---|---|
+
+public static final int |
+AUDIO_CONTENT_FIELD_NUMBER |
+2 |
+
+
+public static final int |
+STREAMING_CONFIG_FIELD_NUMBER |
+1 |
+
| Modifier and Type | +Constant Field | +Value | +
|---|---|---|
+
+public static final int |
+ERROR_FIELD_NUMBER |
+1 |
+
+
+public static final int |
+RESULTS_FIELD_NUMBER |
+2 |
+
+
+public static final int |
+SPEECH_EVENT_TYPE_FIELD_NUMBER |
+4 |
+
| Modifier and Type | +Constant Field | +Value | +
|---|---|---|
+
+public static final int |
+END_OF_SINGLE_UTTERANCE_VALUE |
+1 |
+
+
+public static final int |
+SPEECH_EVENT_UNSPECIFIED_VALUE |
+0 |
+
| Modifier and Type | +Constant Field | +Value | +
|---|---|---|
+
+public static final int |
+END_TIME_FIELD_NUMBER |
+2 |
+
+
+public static final int |
+START_TIME_FIELD_NUMBER |
+1 |
+
+
+public static final int |
+WORD_FIELD_NUMBER |
+3 |
+
| Method and Description | +
|---|
| com.google.cloud.speech.v1p1beta1.StreamingRecognizeResponse.SpeechEventType.valueOf(int) + + | +
| com.google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding.valueOf(int)
+ Use
+RecognitionConfig.AudioEncoding.forNumber(int) instead. |
+
| com.google.cloud.speech.v1p1beta1.RecognitionAudio.AudioSourceCase.valueOf(int)
+ Use
+RecognitionAudio.AudioSourceCase.forNumber(int) instead. |
+
| com.google.cloud.speech.v1p1beta1.StreamingRecognizeRequest.StreamingRequestCase.valueOf(int) + + | +
Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:
+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+Each annotation type has its own separate page with the following sections:
+Each enum has its own separate page with the following sections:
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.
The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+These links take you to the next or previous class, interface, package, or related page.
+These links show and hide the HTML frames. All pages are available with or without frames.
+The All Classes link shows all classes and interfaces except non-static nested types.
+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
+The Constant Field Values page lists the static final fields and their values.
+RecognitionAudio.AudioSourceCase.forNumber(int) instead.RecognitionConfig.AudioEncoding.forNumber(int) instead.int progressPercent_+
com.google.protobuf.Timestamp startTime_+
com.google.protobuf.Timestamp lastUpdateTime_+
byte memoizedIsInitialized+
RecognitionConfig config_+
RecognitionAudio audio_+
byte memoizedIsInitialized+
java.util.List<E> results_+
byte memoizedIsInitialized+
int audioSourceCase_+
java.lang.Object audioSource_+
byte memoizedIsInitialized+
int bitField0_+
int encoding_+
int sampleRateHertz_+
java.lang.Object languageCode_+
int maxAlternatives_+
boolean profanityFilter_+
java.util.List<E> speechContexts_+
boolean enableWordTimeOffsets_+
byte memoizedIsInitialized+
RecognitionConfig config_+
RecognitionAudio audio_+
byte memoizedIsInitialized+
java.util.List<E> results_+
byte memoizedIsInitialized+
com.google.protobuf.LazyStringList phrases_+
byte memoizedIsInitialized+
int bitField0_+
java.lang.Object transcript_+
float confidence_+
java.util.List<E> words_+
byte memoizedIsInitialized+
java.util.List<E> alternatives_+
byte memoizedIsInitialized+
RecognitionConfig config_+
boolean singleUtterance_+
boolean interimResults_+
byte memoizedIsInitialized+
int bitField0_+
java.util.List<E> alternatives_+
boolean isFinal_+
float stability_+
byte memoizedIsInitialized+
int streamingRequestCase_+
java.lang.Object streamingRequest_+
byte memoizedIsInitialized+
int bitField0_+
com.google.rpc.Status error_+
java.util.List<E> results_+
int speechEventType_+
byte memoizedIsInitialized+
com.google.protobuf.Duration startTime_+
com.google.protobuf.Duration endTime_+
java.lang.Object word_+
byte memoizedIsInitialized+