Reference documentation and code samples for the Cloud Speech V1p1beta1 Client class LongRunningRecognizeMetadata.
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.
Generated from protobuf message google.cloud.speech.v1p1beta1.LongRunningRecognizeMetadata
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ progress_percent |
int
Approximate percentage of audio processed thus far. Guaranteed to be 100 when the audio is fully processed and the results are available. |
↳ start_time |
Google\Protobuf\Timestamp
Time when the request was received. |
↳ last_update_time |
Google\Protobuf\Timestamp
Time of the most recent processing update. |
↳ uri |
string
Output only. The URI of the audio file being transcribed. Empty if the audio was sent as byte content. |
↳ output_config |
Google\Cloud\Speech\V1p1beta1\TranscriptOutputConfig
Output only. A copy of the TranscriptOutputConfig if it was set in the request. |
getProgressPercent
Approximate percentage of audio processed thus far. Guaranteed to be 100 when the audio is fully processed and the results are available.
Generated from protobuf field int32 progress_percent = 1;
Returns | |
---|---|
Type | Description |
int |
setProgressPercent
Approximate percentage of audio processed thus far. Guaranteed to be 100 when the audio is fully processed and the results are available.
Generated from protobuf field int32 progress_percent = 1;
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getStartTime
Time when the request was received.
Generated from protobuf field .google.protobuf.Timestamp start_time = 2;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasStartTime
clearStartTime
setStartTime
Time when the request was received.
Generated from protobuf field .google.protobuf.Timestamp start_time = 2;
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getLastUpdateTime
Time of the most recent processing update.
Generated from protobuf field .google.protobuf.Timestamp last_update_time = 3;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasLastUpdateTime
clearLastUpdateTime
setLastUpdateTime
Time of the most recent processing update.
Generated from protobuf field .google.protobuf.Timestamp last_update_time = 3;
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getUri
Output only. The URI of the audio file being transcribed. Empty if the audio was sent as byte content.
Generated from protobuf field string uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
string |
setUri
Output only. The URI of the audio file being transcribed. Empty if the audio was sent as byte content.
Generated from protobuf field string uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getOutputConfig
Output only. A copy of the TranscriptOutputConfig if it was set in the request.
Generated from protobuf field .google.cloud.speech.v1p1beta1.TranscriptOutputConfig output_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Google\Cloud\Speech\V1p1beta1\TranscriptOutputConfig|null |
hasOutputConfig
clearOutputConfig
setOutputConfig
Output only. A copy of the TranscriptOutputConfig if it was set in the request.
Generated from protobuf field .google.cloud.speech.v1p1beta1.TranscriptOutputConfig output_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Speech\V1p1beta1\TranscriptOutputConfig
|
Returns | |
---|---|
Type | Description |
$this |