Package com.viam.common.v1
Class Common.GetPropertiesResponse
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<Common.GetPropertiesResponse,Common.GetPropertiesResponse.Builder>
com.viam.common.v1.Common.GetPropertiesResponse
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,Common.GetPropertiesResponseOrBuilder
- Enclosing class:
- Common
public static final class Common.GetPropertiesResponse
extends com.google.protobuf.GeneratedMessageLite<Common.GetPropertiesResponse,Common.GetPropertiesResponse.Builder>
implements Common.GetPropertiesResponseOrBuilder
Protobuf type
viam.common.v1.GetPropertiesResponse-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeviam.common.v1.GetPropertiesResponseNested 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 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) static Common.GetPropertiesResponseintMaximum number of audio channels supported (e.g., 1 for mono, 2 for stereo)intcurrent sample rate in HzgetSupportedCodecs(int index) List of audio codecs supported by the system (e.g., "mp3", "pcm16", "pcm32float")com.google.protobuf.ByteStringgetSupportedCodecsBytes(int index) List of audio codecs supported by the system (e.g., "mp3", "pcm16", "pcm32float")intList of audio codecs supported by the system (e.g., "mp3", "pcm16", "pcm32float")List of audio codecs supported by the system (e.g., "mp3", "pcm16", "pcm32float")newBuilder(Common.GetPropertiesResponse prototype) static Common.GetPropertiesResponseparseDelimitedFrom(InputStream input) static Common.GetPropertiesResponseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Common.GetPropertiesResponseparseFrom(byte[] data) static Common.GetPropertiesResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Common.GetPropertiesResponseparseFrom(com.google.protobuf.ByteString data) static Common.GetPropertiesResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Common.GetPropertiesResponseparseFrom(com.google.protobuf.CodedInputStream input) static Common.GetPropertiesResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Common.GetPropertiesResponseparseFrom(InputStream input) static Common.GetPropertiesResponseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Common.GetPropertiesResponseparseFrom(ByteBuffer data) static Common.GetPropertiesResponseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Common.GetPropertiesResponse>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
-
SUPPORTED_CODECS_FIELD_NUMBER
public static final int SUPPORTED_CODECS_FIELD_NUMBER- See Also:
-
SAMPLE_RATE_HZ_FIELD_NUMBER
public static final int SAMPLE_RATE_HZ_FIELD_NUMBER- See Also:
-
NUM_CHANNELS_FIELD_NUMBER
public static final int NUM_CHANNELS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getSupportedCodecsList
List of audio codecs supported by the system (e.g., "mp3", "pcm16", "pcm32float")
repeated string supported_codecs = 1 [json_name = "supportedCodecs"];- Specified by:
getSupportedCodecsListin interfaceCommon.GetPropertiesResponseOrBuilder- Returns:
- A list containing the supportedCodecs.
-
getSupportedCodecsCount
public int getSupportedCodecsCount()List of audio codecs supported by the system (e.g., "mp3", "pcm16", "pcm32float")
repeated string supported_codecs = 1 [json_name = "supportedCodecs"];- Specified by:
getSupportedCodecsCountin interfaceCommon.GetPropertiesResponseOrBuilder- Returns:
- The count of supportedCodecs.
-
getSupportedCodecs
List of audio codecs supported by the system (e.g., "mp3", "pcm16", "pcm32float")
repeated string supported_codecs = 1 [json_name = "supportedCodecs"];- Specified by:
getSupportedCodecsin interfaceCommon.GetPropertiesResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The supportedCodecs at the given index.
-
getSupportedCodecsBytes
public com.google.protobuf.ByteString getSupportedCodecsBytes(int index) List of audio codecs supported by the system (e.g., "mp3", "pcm16", "pcm32float")
repeated string supported_codecs = 1 [json_name = "supportedCodecs"];- Specified by:
getSupportedCodecsBytesin interfaceCommon.GetPropertiesResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the supportedCodecs at the given index.
-
getSampleRateHz
public int getSampleRateHz()current sample rate in Hz
int32 sample_rate_hz = 2 [json_name = "sampleRateHz"];- Specified by:
getSampleRateHzin interfaceCommon.GetPropertiesResponseOrBuilder- Returns:
- The sampleRateHz.
-
getNumChannels
public int getNumChannels()Maximum number of audio channels supported (e.g., 1 for mono, 2 for stereo)
int32 num_channels = 3 [json_name = "numChannels"];- Specified by:
getNumChannelsin interfaceCommon.GetPropertiesResponseOrBuilder- Returns:
- The numChannels.
-
parseFrom
public static Common.GetPropertiesResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Common.GetPropertiesResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Common.GetPropertiesResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Common.GetPropertiesResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Common.GetPropertiesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Common.GetPropertiesResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Common.GetPropertiesResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Common.GetPropertiesResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Common.GetPropertiesResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Common.GetPropertiesResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
public static Common.GetPropertiesResponse.Builder newBuilder(Common.GetPropertiesResponse prototype) -
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<Common.GetPropertiesResponse,Common.GetPropertiesResponse.Builder>
-
getDefaultInstance
-
parser
-