Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class InternalServiceLatency.
Message to represent the latency of an internal service.
Generated from protobuf message google.cloud.dialogflow.v2.ServiceLatency.InternalServiceLatency
Namespace
Google \ Cloud \ Dialogflow \ V2 \ ServiceLatencyMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ step |
string
The name of the internal service. |
↳ latency_ms |
float
The latency of the internal service in milliseconds. |
↳ start_time |
Google\Protobuf\Timestamp
The start time of the internal service. |
↳ complete_time |
Google\Protobuf\Timestamp
The completion time of the internal service. |
getStep
The name of the internal service.
| Returns | |
|---|---|
| Type | Description |
string |
|
setStep
The name of the internal service.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLatencyMs
The latency of the internal service in milliseconds.
| Returns | |
|---|---|
| Type | Description |
float |
|
setLatencyMs
The latency of the internal service in milliseconds.
| Parameter | |
|---|---|
| Name | Description |
var |
float
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getStartTime
The start time of the internal service.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasStartTime
clearStartTime
setStartTime
The start time of the internal service.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCompleteTime
The completion time of the internal service.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasCompleteTime
clearCompleteTime
setCompleteTime
The completion time of the internal service.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|