Package com.viam.component.audioinput.v1
Class Audioinput.PropertiesResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Audioinput.PropertiesResponse,Audioinput.PropertiesResponse.Builder>
com.viam.component.audioinput.v1.Audioinput.PropertiesResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Audioinput.PropertiesResponseOrBuilder,Cloneable
- Enclosing class:
- Audioinput.PropertiesResponse
public static final class Audioinput.PropertiesResponse.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Audioinput.PropertiesResponse,Audioinput.PropertiesResponse.Builder>
implements Audioinput.PropertiesResponseOrBuilder
Protobuf type
viam.component.audioinput.v1.PropertiesResponse-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionuint32 channel_count = 1 [json_name = "channelCount"];bool is_big_endian = 5 [json_name = "isBigEndian"];bool is_float = 6 [json_name = "isFloat"];bool is_interleaved = 7 [json_name = "isInterleaved"];.google.protobuf.Duration latency = 2 [json_name = "latency"];uint32 sample_rate = 3 [json_name = "sampleRate"];uint32 sample_size = 4 [json_name = "sampleSize"];intuint32 channel_count = 1 [json_name = "channelCount"];booleanbool is_big_endian = 5 [json_name = "isBigEndian"];booleanbool is_float = 6 [json_name = "isFloat"];booleanbool is_interleaved = 7 [json_name = "isInterleaved"];com.google.protobuf.Duration.google.protobuf.Duration latency = 2 [json_name = "latency"];intuint32 sample_rate = 3 [json_name = "sampleRate"];intuint32 sample_size = 4 [json_name = "sampleSize"];boolean.google.protobuf.Duration latency = 2 [json_name = "latency"];mergeLatency(com.google.protobuf.Duration value) .google.protobuf.Duration latency = 2 [json_name = "latency"];setChannelCount(int value) uint32 channel_count = 1 [json_name = "channelCount"];setIsBigEndian(boolean value) bool is_big_endian = 5 [json_name = "isBigEndian"];setIsFloat(boolean value) bool is_float = 6 [json_name = "isFloat"];setIsInterleaved(boolean value) bool is_interleaved = 7 [json_name = "isInterleaved"];setLatency(com.google.protobuf.Duration value) .google.protobuf.Duration latency = 2 [json_name = "latency"];setLatency(com.google.protobuf.Duration.Builder builderForValue) .google.protobuf.Duration latency = 2 [json_name = "latency"];setSampleRate(int value) uint32 sample_rate = 3 [json_name = "sampleRate"];setSampleSize(int value) uint32 sample_size = 4 [json_name = "sampleSize"];Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getChannelCount
public int getChannelCount()uint32 channel_count = 1 [json_name = "channelCount"];- Specified by:
getChannelCountin interfaceAudioinput.PropertiesResponseOrBuilder- Returns:
- The channelCount.
-
setChannelCount
uint32 channel_count = 1 [json_name = "channelCount"];- Parameters:
value- The channelCount to set.- Returns:
- This builder for chaining.
-
clearChannelCount
uint32 channel_count = 1 [json_name = "channelCount"];- Returns:
- This builder for chaining.
-
hasLatency
public boolean hasLatency().google.protobuf.Duration latency = 2 [json_name = "latency"];- Specified by:
hasLatencyin interfaceAudioinput.PropertiesResponseOrBuilder- Returns:
- Whether the latency field is set.
-
getLatency
public com.google.protobuf.Duration getLatency().google.protobuf.Duration latency = 2 [json_name = "latency"];- Specified by:
getLatencyin interfaceAudioinput.PropertiesResponseOrBuilder- Returns:
- The latency.
-
setLatency
.google.protobuf.Duration latency = 2 [json_name = "latency"]; -
setLatency
public Audioinput.PropertiesResponse.Builder setLatency(com.google.protobuf.Duration.Builder builderForValue) .google.protobuf.Duration latency = 2 [json_name = "latency"]; -
mergeLatency
.google.protobuf.Duration latency = 2 [json_name = "latency"]; -
clearLatency
.google.protobuf.Duration latency = 2 [json_name = "latency"]; -
getSampleRate
public int getSampleRate()uint32 sample_rate = 3 [json_name = "sampleRate"];- Specified by:
getSampleRatein interfaceAudioinput.PropertiesResponseOrBuilder- Returns:
- The sampleRate.
-
setSampleRate
uint32 sample_rate = 3 [json_name = "sampleRate"];- Parameters:
value- The sampleRate to set.- Returns:
- This builder for chaining.
-
clearSampleRate
uint32 sample_rate = 3 [json_name = "sampleRate"];- Returns:
- This builder for chaining.
-
getSampleSize
public int getSampleSize()uint32 sample_size = 4 [json_name = "sampleSize"];- Specified by:
getSampleSizein interfaceAudioinput.PropertiesResponseOrBuilder- Returns:
- The sampleSize.
-
setSampleSize
uint32 sample_size = 4 [json_name = "sampleSize"];- Parameters:
value- The sampleSize to set.- Returns:
- This builder for chaining.
-
clearSampleSize
uint32 sample_size = 4 [json_name = "sampleSize"];- Returns:
- This builder for chaining.
-
getIsBigEndian
public boolean getIsBigEndian()bool is_big_endian = 5 [json_name = "isBigEndian"];- Specified by:
getIsBigEndianin interfaceAudioinput.PropertiesResponseOrBuilder- Returns:
- The isBigEndian.
-
setIsBigEndian
bool is_big_endian = 5 [json_name = "isBigEndian"];- Parameters:
value- The isBigEndian to set.- Returns:
- This builder for chaining.
-
clearIsBigEndian
bool is_big_endian = 5 [json_name = "isBigEndian"];- Returns:
- This builder for chaining.
-
getIsFloat
public boolean getIsFloat()bool is_float = 6 [json_name = "isFloat"];- Specified by:
getIsFloatin interfaceAudioinput.PropertiesResponseOrBuilder- Returns:
- The isFloat.
-
setIsFloat
bool is_float = 6 [json_name = "isFloat"];- Parameters:
value- The isFloat to set.- Returns:
- This builder for chaining.
-
clearIsFloat
bool is_float = 6 [json_name = "isFloat"];- Returns:
- This builder for chaining.
-
getIsInterleaved
public boolean getIsInterleaved()bool is_interleaved = 7 [json_name = "isInterleaved"];- Specified by:
getIsInterleavedin interfaceAudioinput.PropertiesResponseOrBuilder- Returns:
- The isInterleaved.
-
setIsInterleaved
bool is_interleaved = 7 [json_name = "isInterleaved"];- Parameters:
value- The isInterleaved to set.- Returns:
- This builder for chaining.
-
clearIsInterleaved
bool is_interleaved = 7 [json_name = "isInterleaved"];- Returns:
- This builder for chaining.
-