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,
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 |
clearOutputConfig()
Output only.
|
LongRunningRecognizeMetadata.Builder |
clearProgressPercent()
Approximate percentage of audio processed thus far.
|
LongRunningRecognizeMetadata.Builder |
clearStartTime()
Time when the request was received.
|
LongRunningRecognizeMetadata.Builder |
clearUri()
Output only.
|
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.
|
TranscriptOutputConfig |
getOutputConfig()
Output only.
|
TranscriptOutputConfig.Builder |
getOutputConfigBuilder()
Output only.
|
TranscriptOutputConfigOrBuilder |
getOutputConfigOrBuilder()
Output only.
|
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.
|
String |
getUri()
Output only.
|
com.google.protobuf.ByteString |
getUriBytes()
Output only.
|
boolean |
hasLastUpdateTime()
Time of the most recent processing update.
|
boolean |
hasOutputConfig()
Output only.
|
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 |
mergeOutputConfig(TranscriptOutputConfig value)
Output only.
|
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,
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 |
setOutputConfig(TranscriptOutputConfig.Builder builderForValue)
Output only.
|
LongRunningRecognizeMetadata.Builder |
setOutputConfig(TranscriptOutputConfig value)
Output only.
|
LongRunningRecognizeMetadata.Builder |
setProgressPercent(int value)
Approximate percentage of audio processed thus far.
|
LongRunningRecognizeMetadata.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
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) |
LongRunningRecognizeMetadata.Builder |
setUri(String value)
Output only.
|
LongRunningRecognizeMetadata.Builder |
setUriBytes(com.google.protobuf.ByteString value)
Output only.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic 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, 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, 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, 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 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>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;value - The progressPercent to set.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 String getUri()
Output only. The URI of the audio file being transcribed. Empty if the audio was sent as byte content.
string uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];getUri in interface LongRunningRecognizeMetadataOrBuilderpublic com.google.protobuf.ByteString getUriBytes()
Output only. The URI of the audio file being transcribed. Empty if the audio was sent as byte content.
string uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];getUriBytes in interface LongRunningRecognizeMetadataOrBuilderpublic LongRunningRecognizeMetadata.Builder setUri(String value)
Output only. The URI of the audio file being transcribed. Empty if the audio was sent as byte content.
string uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The uri to set.public LongRunningRecognizeMetadata.Builder clearUri()
Output only. The URI of the audio file being transcribed. Empty if the audio was sent as byte content.
string uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];public LongRunningRecognizeMetadata.Builder setUriBytes(com.google.protobuf.ByteString value)
Output only. The URI of the audio file being transcribed. Empty if the audio was sent as byte content.
string uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for uri to set.public boolean hasOutputConfig()
Output only. A copy of the TranscriptOutputConfig if it was set in the request.
.google.cloud.speech.v1p1beta1.TranscriptOutputConfig output_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasOutputConfig in interface LongRunningRecognizeMetadataOrBuilderpublic TranscriptOutputConfig getOutputConfig()
Output only. A copy of the TranscriptOutputConfig if it was set in the request.
.google.cloud.speech.v1p1beta1.TranscriptOutputConfig output_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getOutputConfig in interface LongRunningRecognizeMetadataOrBuilderpublic LongRunningRecognizeMetadata.Builder setOutputConfig(TranscriptOutputConfig value)
Output only. A copy of the TranscriptOutputConfig if it was set in the request.
.google.cloud.speech.v1p1beta1.TranscriptOutputConfig output_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public LongRunningRecognizeMetadata.Builder setOutputConfig(TranscriptOutputConfig.Builder builderForValue)
Output only. A copy of the TranscriptOutputConfig if it was set in the request.
.google.cloud.speech.v1p1beta1.TranscriptOutputConfig output_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public LongRunningRecognizeMetadata.Builder mergeOutputConfig(TranscriptOutputConfig value)
Output only. A copy of the TranscriptOutputConfig if it was set in the request.
.google.cloud.speech.v1p1beta1.TranscriptOutputConfig output_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public LongRunningRecognizeMetadata.Builder clearOutputConfig()
Output only. A copy of the TranscriptOutputConfig if it was set in the request.
.google.cloud.speech.v1p1beta1.TranscriptOutputConfig output_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public TranscriptOutputConfig.Builder getOutputConfigBuilder()
Output only. A copy of the TranscriptOutputConfig if it was set in the request.
.google.cloud.speech.v1p1beta1.TranscriptOutputConfig output_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public TranscriptOutputConfigOrBuilder getOutputConfigOrBuilder()
Output only. A copy of the TranscriptOutputConfig if it was set in the request.
.google.cloud.speech.v1p1beta1.TranscriptOutputConfig output_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getOutputConfigOrBuilder 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>Copyright © 2024 Google LLC. All rights reserved.