public interface RecognitionResponseMetadataOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getPrompt()
public abstract String getPrompt()Optional. Output only. Provides the prompt used for the recognition request.
optional string prompt = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The prompt. |
getPromptBytes()
public abstract ByteString getPromptBytes()Optional. Output only. Provides the prompt used for the recognition request.
optional string prompt = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for prompt. |
getRequestId()
public abstract String getRequestId()Global request identifier auto-generated by the API.
string request_id = 9 [(.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The requestId. |
getRequestIdBytes()
public abstract ByteString getRequestIdBytes()Global request identifier auto-generated by the API.
string request_id = 9 [(.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for requestId. |
getTotalBilledDuration()
public abstract Duration getTotalBilledDuration()When available, billed audio seconds for the corresponding request.
.google.protobuf.Duration total_billed_duration = 6;
| Returns | |
|---|---|
| Type | Description |
Duration |
The totalBilledDuration. |
getTotalBilledDurationOrBuilder()
public abstract DurationOrBuilder getTotalBilledDurationOrBuilder()When available, billed audio seconds for the corresponding request.
.google.protobuf.Duration total_billed_duration = 6;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
hasPrompt()
public abstract boolean hasPrompt()Optional. Output only. Provides the prompt used for the recognition request.
optional string prompt = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the prompt field is set. |
hasTotalBilledDuration()
public abstract boolean hasTotalBilledDuration()When available, billed audio seconds for the corresponding request.
.google.protobuf.Duration total_billed_duration = 6;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the totalBilledDuration field is set. |