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