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
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public AsyncRecognizeMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public AsyncRecognizeMetadata build()
Returns
public AsyncRecognizeMetadata buildPartial()
Returns
public AsyncRecognizeMetadata.Builder clear()
Returns
Overrides
public AsyncRecognizeMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public AsyncRecognizeMetadata.Builder clearLastUpdateTime()
Time of the most recent processing update.
.google.protobuf.Timestamp last_update_time = 3;
Returns
public AsyncRecognizeMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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;
Returns
public AsyncRecognizeMetadata.Builder clearStartTime()
Time when the request was received.
.google.protobuf.Timestamp start_time = 2;
Returns
public AsyncRecognizeMetadata.Builder clone()
Returns
Overrides
public AsyncRecognizeMetadata getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public Timestamp getLastUpdateTime()
Time of the most recent processing update.
.google.protobuf.Timestamp last_update_time = 3;
Returns
public Timestamp.Builder getLastUpdateTimeBuilder()
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 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 Timestamp getStartTime()
Time when the request was received.
.google.protobuf.Timestamp start_time = 2;
Returns
public Timestamp.Builder getStartTimeBuilder()
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 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
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public AsyncRecognizeMetadata.Builder mergeFrom(AsyncRecognizeMetadata other)
Parameter
Returns
public AsyncRecognizeMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public AsyncRecognizeMetadata.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public AsyncRecognizeMetadata.Builder mergeLastUpdateTime(Timestamp value)
Time of the most recent processing update.
.google.protobuf.Timestamp last_update_time = 3;
Parameter
Returns
public AsyncRecognizeMetadata.Builder mergeStartTime(Timestamp value)
Time when the request was received.
.google.protobuf.Timestamp start_time = 2;
Parameter
Returns
public final AsyncRecognizeMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public AsyncRecognizeMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public AsyncRecognizeMetadata.Builder setLastUpdateTime(Timestamp value)
Time of the most recent processing update.
.google.protobuf.Timestamp last_update_time = 3;
Parameter
Returns
public AsyncRecognizeMetadata.Builder setLastUpdateTime(Timestamp.Builder builderForValue)
Time of the most recent processing update.
.google.protobuf.Timestamp last_update_time = 3;
Parameter
Name | Description |
builderForValue | Builder
|
Returns
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;
Parameter
Returns
public AsyncRecognizeMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public AsyncRecognizeMetadata.Builder setStartTime(Timestamp value)
Time when the request was received.
.google.protobuf.Timestamp start_time = 2;
Parameter
Returns
public AsyncRecognizeMetadata.Builder setStartTime(Timestamp.Builder builderForValue)
Time when the request was received.
.google.protobuf.Timestamp start_time = 2;
Parameter
Name | Description |
builderForValue | Builder
|
Returns
public final AsyncRecognizeMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides