public final class AsyncRecognizeMetadata extends GeneratedMessageV3 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
Static Fields
public static final int LAST_UPDATE_TIME_FIELD_NUMBER
Field Value
public static final int PROGRESS_PERCENT_FIELD_NUMBER
Field Value
public static final int START_TIME_FIELD_NUMBER
Field Value
Static Methods
public static AsyncRecognizeMetadata getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static AsyncRecognizeMetadata.Builder newBuilder()
Returns
public static AsyncRecognizeMetadata.Builder newBuilder(AsyncRecognizeMetadata prototype)
Parameter
Returns
public static AsyncRecognizeMetadata parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AsyncRecognizeMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AsyncRecognizeMetadata parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static AsyncRecognizeMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AsyncRecognizeMetadata parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static AsyncRecognizeMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AsyncRecognizeMetadata parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AsyncRecognizeMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AsyncRecognizeMetadata parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AsyncRecognizeMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AsyncRecognizeMetadata parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static AsyncRecognizeMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<AsyncRecognizeMetadata> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public AsyncRecognizeMetadata getDefaultInstanceForType()
Returns
public Timestamp getLastUpdateTime()
Time of the most recent processing update.
.google.protobuf.Timestamp last_update_time = 3;
Returns
public TimestampOrBuilder getLastUpdateTimeOrBuilder()
Time of the most recent processing update.
.google.protobuf.Timestamp last_update_time = 3;
Returns
public Parser<AsyncRecognizeMetadata> getParserForType()
Returns
Overrides
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;
Returns
public int getSerializedSize()
Returns
Overrides
public Timestamp getStartTime()
Time when the request was received.
.google.protobuf.Timestamp start_time = 2;
Returns
public TimestampOrBuilder getStartTimeOrBuilder()
Time when the request was received.
.google.protobuf.Timestamp start_time = 2;
Returns
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public boolean hasLastUpdateTime()
Time of the most recent processing update.
.google.protobuf.Timestamp last_update_time = 3;
Returns
public boolean hasStartTime()
Time when the request was received.
.google.protobuf.Timestamp start_time = 2;
Returns
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public AsyncRecognizeMetadata.Builder newBuilderForType()
Returns
protected AsyncRecognizeMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
public AsyncRecognizeMetadata.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions