Class Audioinput.ChunksRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Audioinput.ChunksRequest,Audioinput.ChunksRequest.Builder>
com.viam.component.audioinput.v1.Audioinput.ChunksRequest.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Audioinput.ChunksRequestOrBuilder, Cloneable
Enclosing class:
Audioinput.ChunksRequest

public static final class Audioinput.ChunksRequest.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Audioinput.ChunksRequest,Audioinput.ChunksRequest.Builder> implements Audioinput.ChunksRequestOrBuilder
Protobuf type viam.component.audioinput.v1.ChunksRequest
  • Method Details

    • getName

      public String getName()
       Name of an audio input
       
      string name = 1 [json_name = "name"];
      Specified by:
      getName in interface Audioinput.ChunksRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Name of an audio input
       
      string name = 1 [json_name = "name"];
      Specified by:
      getNameBytes in interface Audioinput.ChunksRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Audioinput.ChunksRequest.Builder setName(String value)
       Name of an audio input
       
      string name = 1 [json_name = "name"];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

       Name of an audio input
       
      string name = 1 [json_name = "name"];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Audioinput.ChunksRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       Name of an audio input
       
      string name = 1 [json_name = "name"];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getSampleFormatValue

      public int getSampleFormatValue()
       Requested sample encoding format of the response
       
      .viam.component.audioinput.v1.SampleFormat sample_format = 2 [json_name = "sampleFormat"];
      Specified by:
      getSampleFormatValue in interface Audioinput.ChunksRequestOrBuilder
      Returns:
      The enum numeric value on the wire for sampleFormat.
    • setSampleFormatValue

      public Audioinput.ChunksRequest.Builder setSampleFormatValue(int value)
       Requested sample encoding format of the response
       
      .viam.component.audioinput.v1.SampleFormat sample_format = 2 [json_name = "sampleFormat"];
      Parameters:
      value - The sampleFormat to set.
      Returns:
      This builder for chaining.
    • getSampleFormat

      public Audioinput.SampleFormat getSampleFormat()
       Requested sample encoding format of the response
       
      .viam.component.audioinput.v1.SampleFormat sample_format = 2 [json_name = "sampleFormat"];
      Specified by:
      getSampleFormat in interface Audioinput.ChunksRequestOrBuilder
      Returns:
      The sampleFormat.
    • setSampleFormat

       Requested sample encoding format of the response
       
      .viam.component.audioinput.v1.SampleFormat sample_format = 2 [json_name = "sampleFormat"];
      Parameters:
      value - The enum numeric value on the wire for sampleFormat to set.
      Returns:
      This builder for chaining.
    • clearSampleFormat

      public Audioinput.ChunksRequest.Builder clearSampleFormat()
       Requested sample encoding format of the response
       
      .viam.component.audioinput.v1.SampleFormat sample_format = 2 [json_name = "sampleFormat"];
      Returns:
      This builder for chaining.