Package com.google.cloud.speech.v2
Interface RecognitionResponseMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RecognitionResponseMetadata,RecognitionResponseMetadata.Builder
@Generated
public interface RecognitionResponseMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.com.google.protobuf.ByteStringOptional.Global request identifier auto-generated by the API.com.google.protobuf.ByteStringGlobal request identifier auto-generated by the API.com.google.protobuf.DurationWhen available, billed audio seconds for the corresponding request.com.google.protobuf.DurationOrBuilderWhen available, billed audio seconds for the corresponding request.booleanOptional.booleanWhen available, billed audio seconds for the corresponding request.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getRequestId
String getRequestId()Global request identifier auto-generated by the API.
string request_id = 9 [(.google.api.field_info) = { ... }- Returns:
- The requestId.
-
getRequestIdBytes
com.google.protobuf.ByteString getRequestIdBytes()Global request identifier auto-generated by the API.
string request_id = 9 [(.google.api.field_info) = { ... }- Returns:
- The bytes for requestId.
-
hasTotalBilledDuration
boolean hasTotalBilledDuration()When available, billed audio seconds for the corresponding request.
.google.protobuf.Duration total_billed_duration = 6;- Returns:
- Whether the totalBilledDuration field is set.
-
getTotalBilledDuration
com.google.protobuf.Duration getTotalBilledDuration()When available, billed audio seconds for the corresponding request.
.google.protobuf.Duration total_billed_duration = 6;- Returns:
- The totalBilledDuration.
-
getTotalBilledDurationOrBuilder
com.google.protobuf.DurationOrBuilder getTotalBilledDurationOrBuilder()When available, billed audio seconds for the corresponding request.
.google.protobuf.Duration total_billed_duration = 6; -
hasPrompt
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:
- Whether the prompt field is set.
-
getPrompt
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:
- The prompt.
-
getPromptBytes
com.google.protobuf.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:
- The bytes for prompt.
-