Package com.viam.component.audioin.v1
Interface Audioin.GetAudioRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Audioin.GetAudioRequest,Audioin.GetAudioRequest.Builder
- Enclosing class:
- Audioin
public static interface Audioin.GetAudioRequestOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetCodec()Requested audio codec for the response (e.g., "mp3", "pcm16")com.google.protobuf.ByteStringRequested audio codec for the response (e.g., "mp3", "pcm16")floatDesired duration of audio stream If not set or set to 0, the stream is infinitecom.google.protobuf.StructgetExtra().google.protobuf.Struct extra = 99 [json_name = "extra"];getName()string name = 1 [json_name = "name"];com.google.protobuf.ByteStringstring name = 1 [json_name = "name"];longTimestamp of the previous audio chunk, in nanoseconds, used for resuming and continuity.To match a request to it's responsescom.google.protobuf.ByteStringTo match a request to it's responsesbooleanhasExtra().google.protobuf.Struct extra = 99 [json_name = "extra"];Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getName
String getName()string name = 1 [json_name = "name"];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()string name = 1 [json_name = "name"];- Returns:
- The bytes for name.
-
getDurationSeconds
float getDurationSeconds()Desired duration of audio stream If not set or set to 0, the stream is infinite
float duration_seconds = 2 [json_name = "durationSeconds"];- Returns:
- The durationSeconds.
-
getCodec
String getCodec()Requested audio codec for the response (e.g., "mp3", "pcm16")
string codec = 3 [json_name = "codec"];- Returns:
- The codec.
-
getCodecBytes
com.google.protobuf.ByteString getCodecBytes()Requested audio codec for the response (e.g., "mp3", "pcm16")
string codec = 3 [json_name = "codec"];- Returns:
- The bytes for codec.
-
getRequestId
String getRequestId()To match a request to it's responses
string request_id = 4 [json_name = "requestId"];- Returns:
- The requestId.
-
getRequestIdBytes
com.google.protobuf.ByteString getRequestIdBytes()To match a request to it's responses
string request_id = 4 [json_name = "requestId"];- Returns:
- The bytes for requestId.
-
getPreviousTimestampNanoseconds
long getPreviousTimestampNanoseconds()Timestamp of the previous audio chunk, in nanoseconds, used for resuming and continuity.
int64 previous_timestamp_nanoseconds = 5 [json_name = "previousTimestampNanoseconds"];- Returns:
- The previousTimestampNanoseconds.
-
hasExtra
boolean hasExtra().google.protobuf.Struct extra = 99 [json_name = "extra"];- Returns:
- Whether the extra field is set.
-
getExtra
com.google.protobuf.Struct getExtra().google.protobuf.Struct extra = 99 [json_name = "extra"];- Returns:
- The extra.
-