public static final class AsyncRecognizeMetadata.Builder extends GeneratedMessageV3.Builder<AsyncRecognizeMetadata.Builder> implements AsyncRecognizeMetadataOrBuilder
Describes the progress of a long-running `AsyncRecognize` 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.v1beta1.AsyncRecognizeMetadata
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<AsyncRecognizeMetadata.Builder>
public AsyncRecognizeMetadata.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<AsyncRecognizeMetadata.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<AsyncRecognizeMetadata.Builder>
public AsyncRecognizeMetadata getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public AsyncRecognizeMetadata build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public AsyncRecognizeMetadata buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public AsyncRecognizeMetadata.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<AsyncRecognizeMetadata.Builder>
public AsyncRecognizeMetadata.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<AsyncRecognizeMetadata.Builder>
public AsyncRecognizeMetadata.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<AsyncRecognizeMetadata.Builder>
public AsyncRecognizeMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<AsyncRecognizeMetadata.Builder>
public AsyncRecognizeMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<AsyncRecognizeMetadata.Builder>
public AsyncRecognizeMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<AsyncRecognizeMetadata.Builder>
public AsyncRecognizeMetadata.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<AsyncRecognizeMetadata.Builder>
public AsyncRecognizeMetadata.Builder mergeFrom(AsyncRecognizeMetadata other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<AsyncRecognizeMetadata.Builder>
public AsyncRecognizeMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<AsyncRecognizeMetadata.Builder>
java.io.IOException
public 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 AsyncRecognizeMetadataOrBuilder
public AsyncRecognizeMetadata.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 AsyncRecognizeMetadata.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 AsyncRecognizeMetadataOrBuilder
public Timestamp getStartTime()
Time when the request was received.
.google.protobuf.Timestamp start_time = 2;
getStartTime
in interface AsyncRecognizeMetadataOrBuilder
public AsyncRecognizeMetadata.Builder setStartTime(Timestamp value)
Time when the request was received.
.google.protobuf.Timestamp start_time = 2;
public AsyncRecognizeMetadata.Builder setStartTime(Timestamp.Builder builderForValue)
Time when the request was received.
.google.protobuf.Timestamp start_time = 2;
public AsyncRecognizeMetadata.Builder mergeStartTime(Timestamp value)
Time when the request was received.
.google.protobuf.Timestamp start_time = 2;
public AsyncRecognizeMetadata.Builder clearStartTime()
Time when the request was received.
.google.protobuf.Timestamp start_time = 2;
public Timestamp.Builder getStartTimeBuilder()
Time when the request was received.
.google.protobuf.Timestamp start_time = 2;
public TimestampOrBuilder getStartTimeOrBuilder()
Time when the request was received.
.google.protobuf.Timestamp start_time = 2;
getStartTimeOrBuilder
in interface AsyncRecognizeMetadataOrBuilder
public boolean hasLastUpdateTime()
Time of the most recent processing update.
.google.protobuf.Timestamp last_update_time = 3;
hasLastUpdateTime
in interface AsyncRecognizeMetadataOrBuilder
public Timestamp getLastUpdateTime()
Time of the most recent processing update.
.google.protobuf.Timestamp last_update_time = 3;
getLastUpdateTime
in interface AsyncRecognizeMetadataOrBuilder
public AsyncRecognizeMetadata.Builder setLastUpdateTime(Timestamp value)
Time of the most recent processing update.
.google.protobuf.Timestamp last_update_time = 3;
public AsyncRecognizeMetadata.Builder setLastUpdateTime(Timestamp.Builder builderForValue)
Time of the most recent processing update.
.google.protobuf.Timestamp last_update_time = 3;
public AsyncRecognizeMetadata.Builder mergeLastUpdateTime(Timestamp value)
Time of the most recent processing update.
.google.protobuf.Timestamp last_update_time = 3;
public AsyncRecognizeMetadata.Builder clearLastUpdateTime()
Time of the most recent processing update.
.google.protobuf.Timestamp last_update_time = 3;
public Timestamp.Builder getLastUpdateTimeBuilder()
Time of the most recent processing update.
.google.protobuf.Timestamp last_update_time = 3;
public TimestampOrBuilder getLastUpdateTimeOrBuilder()
Time of the most recent processing update.
.google.protobuf.Timestamp last_update_time = 3;
getLastUpdateTimeOrBuilder
in interface AsyncRecognizeMetadataOrBuilder
public final AsyncRecognizeMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<AsyncRecognizeMetadata.Builder>
public final AsyncRecognizeMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<AsyncRecognizeMetadata.Builder>