Class Audioinput.RecordRequest.Builder

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

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

    • getName

      public String getName()
       Name of an audio input
       
      string name = 1 [json_name = "name"];
      Specified by:
      getName in interface Audioinput.RecordRequestOrBuilder
      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.RecordRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Audioinput.RecordRequest.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.RecordRequest.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.
    • hasDuration

      public boolean hasDuration()
      .google.protobuf.Duration duration = 2 [json_name = "duration"];
      Specified by:
      hasDuration in interface Audioinput.RecordRequestOrBuilder
      Returns:
      Whether the duration field is set.
    • getDuration

      public com.google.protobuf.Duration getDuration()
      .google.protobuf.Duration duration = 2 [json_name = "duration"];
      Specified by:
      getDuration in interface Audioinput.RecordRequestOrBuilder
      Returns:
      The duration.
    • setDuration

      public Audioinput.RecordRequest.Builder setDuration(com.google.protobuf.Duration value)
      .google.protobuf.Duration duration = 2 [json_name = "duration"];
    • setDuration

      public Audioinput.RecordRequest.Builder setDuration(com.google.protobuf.Duration.Builder builderForValue)
      .google.protobuf.Duration duration = 2 [json_name = "duration"];
    • mergeDuration

      public Audioinput.RecordRequest.Builder mergeDuration(com.google.protobuf.Duration value)
      .google.protobuf.Duration duration = 2 [json_name = "duration"];
    • clearDuration

      public Audioinput.RecordRequest.Builder clearDuration()
      .google.protobuf.Duration duration = 2 [json_name = "duration"];