Package com.viam.component.audioin.v1
Class Audioin.GetAudioRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<Audioin.GetAudioRequest,Audioin.GetAudioRequest.Builder>
com.viam.component.audioin.v1.Audioin.GetAudioRequest
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,Audioin.GetAudioRequestOrBuilder
- Enclosing class:
- Audioin
public static final class Audioin.GetAudioRequest
extends com.google.protobuf.GeneratedMessageLite<Audioin.GetAudioRequest,Audioin.GetAudioRequest.Builder>
implements Audioin.GetAudioRequestOrBuilder
Protobuf type
viam.component.audioin.v1.GetAudioRequest-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeviam.component.audioin.v1.GetAudioRequestNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type extends Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) getCodec()Requested audio codec for the response (e.g., "mp3", "pcm16")com.google.protobuf.ByteStringRequested audio codec for the response (e.g., "mp3", "pcm16")static Audioin.GetAudioRequestfloatDesired 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"];newBuilder(Audioin.GetAudioRequest prototype) static Audioin.GetAudioRequestparseDelimitedFrom(InputStream input) static Audioin.GetAudioRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Audioin.GetAudioRequestparseFrom(byte[] data) static Audioin.GetAudioRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Audioin.GetAudioRequestparseFrom(com.google.protobuf.ByteString data) static Audioin.GetAudioRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Audioin.GetAudioRequestparseFrom(com.google.protobuf.CodedInputStream input) static Audioin.GetAudioRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Audioin.GetAudioRequestparseFrom(InputStream input) static Audioin.GetAudioRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Audioin.GetAudioRequestparseFrom(ByteBuffer data) static Audioin.GetAudioRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Audioin.GetAudioRequest>parser()Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
DURATION_SECONDS_FIELD_NUMBER
public static final int DURATION_SECONDS_FIELD_NUMBER- See Also:
-
CODEC_FIELD_NUMBER
public static final int CODEC_FIELD_NUMBER- See Also:
-
REQUEST_ID_FIELD_NUMBER
public static final int REQUEST_ID_FIELD_NUMBER- See Also:
-
PREVIOUS_TIMESTAMP_NANOSECONDS_FIELD_NUMBER
public static final int PREVIOUS_TIMESTAMP_NANOSECONDS_FIELD_NUMBER- See Also:
-
EXTRA_FIELD_NUMBER
public static final int EXTRA_FIELD_NUMBER- See Also:
-
-
Method Details
-
getName
string name = 1 [json_name = "name"];- Specified by:
getNamein interfaceAudioin.GetAudioRequestOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()string name = 1 [json_name = "name"];- Specified by:
getNameBytesin interfaceAudioin.GetAudioRequestOrBuilder- Returns:
- The bytes for name.
-
getDurationSeconds
public 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"];- Specified by:
getDurationSecondsin interfaceAudioin.GetAudioRequestOrBuilder- Returns:
- The durationSeconds.
-
getCodec
Requested audio codec for the response (e.g., "mp3", "pcm16")
string codec = 3 [json_name = "codec"];- Specified by:
getCodecin interfaceAudioin.GetAudioRequestOrBuilder- Returns:
- The codec.
-
getCodecBytes
public com.google.protobuf.ByteString getCodecBytes()Requested audio codec for the response (e.g., "mp3", "pcm16")
string codec = 3 [json_name = "codec"];- Specified by:
getCodecBytesin interfaceAudioin.GetAudioRequestOrBuilder- Returns:
- The bytes for codec.
-
getRequestId
To match a request to it's responses
string request_id = 4 [json_name = "requestId"];- Specified by:
getRequestIdin interfaceAudioin.GetAudioRequestOrBuilder- Returns:
- The requestId.
-
getRequestIdBytes
public com.google.protobuf.ByteString getRequestIdBytes()To match a request to it's responses
string request_id = 4 [json_name = "requestId"];- Specified by:
getRequestIdBytesin interfaceAudioin.GetAudioRequestOrBuilder- Returns:
- The bytes for requestId.
-
getPreviousTimestampNanoseconds
public long getPreviousTimestampNanoseconds()Timestamp of the previous audio chunk, in nanoseconds, used for resuming and continuity.
int64 previous_timestamp_nanoseconds = 5 [json_name = "previousTimestampNanoseconds"];- Specified by:
getPreviousTimestampNanosecondsin interfaceAudioin.GetAudioRequestOrBuilder- Returns:
- The previousTimestampNanoseconds.
-
hasExtra
public boolean hasExtra().google.protobuf.Struct extra = 99 [json_name = "extra"];- Specified by:
hasExtrain interfaceAudioin.GetAudioRequestOrBuilder- Returns:
- Whether the extra field is set.
-
getExtra
public com.google.protobuf.Struct getExtra().google.protobuf.Struct extra = 99 [json_name = "extra"];- Specified by:
getExtrain interfaceAudioin.GetAudioRequestOrBuilder- Returns:
- The extra.
-
parseFrom
public static Audioin.GetAudioRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Audioin.GetAudioRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Audioin.GetAudioRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Audioin.GetAudioRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Audioin.GetAudioRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Audioin.GetAudioRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Audioin.GetAudioRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Audioin.GetAudioRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Audioin.GetAudioRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Audioin.GetAudioRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<Audioin.GetAudioRequest,Audioin.GetAudioRequest.Builder>
-
getDefaultInstance
-
parser
-