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 Type
    Method
    Description
    Requested audio codec for the response (e.g., "mp3", "pcm16")
    com.google.protobuf.ByteString
    Requested audio codec for the response (e.g., "mp3", "pcm16")
    float
    Desired duration of audio stream If not set or set to 0, the stream is infinite
    com.google.protobuf.Struct
    .google.protobuf.Struct extra = 99 [json_name = "extra"];
    string name = 1 [json_name = "name"];
    com.google.protobuf.ByteString
    string name = 1 [json_name = "name"];
    long
    Timestamp of the previous audio chunk, in nanoseconds, used for resuming and continuity.
    To match a request to it's responses
    com.google.protobuf.ByteString
    To match a request to it's responses
    boolean
    .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.