Class AudioStreamProperty.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AudioStreamProperty.Builder>
com.google.cloud.video.livestream.v1.AudioStreamProperty.Builder
All Implemented Interfaces:
AudioStreamPropertyOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
AudioStreamProperty

public static final class AudioStreamProperty.Builder extends com.google.protobuf.GeneratedMessage.Builder<AudioStreamProperty.Builder> implements AudioStreamPropertyOrBuilder
 Properties of the audio stream.
 
Protobuf type google.cloud.video.livestream.v1.AudioStreamProperty
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<AudioStreamProperty.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<AudioStreamProperty.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<AudioStreamProperty.Builder>
    • getDefaultInstanceForType

      public AudioStreamProperty getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public AudioStreamProperty build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public AudioStreamProperty buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public AudioStreamProperty.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AudioStreamProperty.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<AudioStreamProperty.Builder>
    • mergeFrom

      public AudioStreamProperty.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AudioStreamProperty.Builder>
      Throws:
      IOException
    • getIndex

      public int getIndex()
       Index of this audio stream.
       
      int32 index = 1;
      Specified by:
      getIndex in interface AudioStreamPropertyOrBuilder
      Returns:
      The index.
    • setIndex

      public AudioStreamProperty.Builder setIndex(int value)
       Index of this audio stream.
       
      int32 index = 1;
      Parameters:
      value - The index to set.
      Returns:
      This builder for chaining.
    • clearIndex

      public AudioStreamProperty.Builder clearIndex()
       Index of this audio stream.
       
      int32 index = 1;
      Returns:
      This builder for chaining.
    • hasAudioFormat

      public boolean hasAudioFormat()
       Properties of the audio format.
       
      .google.cloud.video.livestream.v1.AudioFormat audio_format = 2;
      Specified by:
      hasAudioFormat in interface AudioStreamPropertyOrBuilder
      Returns:
      Whether the audioFormat field is set.
    • getAudioFormat

      public AudioFormat getAudioFormat()
       Properties of the audio format.
       
      .google.cloud.video.livestream.v1.AudioFormat audio_format = 2;
      Specified by:
      getAudioFormat in interface AudioStreamPropertyOrBuilder
      Returns:
      The audioFormat.
    • setAudioFormat

      public AudioStreamProperty.Builder setAudioFormat(AudioFormat value)
       Properties of the audio format.
       
      .google.cloud.video.livestream.v1.AudioFormat audio_format = 2;
    • setAudioFormat

      public AudioStreamProperty.Builder setAudioFormat(AudioFormat.Builder builderForValue)
       Properties of the audio format.
       
      .google.cloud.video.livestream.v1.AudioFormat audio_format = 2;
    • mergeAudioFormat

      public AudioStreamProperty.Builder mergeAudioFormat(AudioFormat value)
       Properties of the audio format.
       
      .google.cloud.video.livestream.v1.AudioFormat audio_format = 2;
    • clearAudioFormat

      public AudioStreamProperty.Builder clearAudioFormat()
       Properties of the audio format.
       
      .google.cloud.video.livestream.v1.AudioFormat audio_format = 2;
    • getAudioFormatBuilder

      public AudioFormat.Builder getAudioFormatBuilder()
       Properties of the audio format.
       
      .google.cloud.video.livestream.v1.AudioFormat audio_format = 2;
    • getAudioFormatOrBuilder

      public AudioFormatOrBuilder getAudioFormatOrBuilder()
       Properties of the audio format.
       
      .google.cloud.video.livestream.v1.AudioFormat audio_format = 2;
      Specified by:
      getAudioFormatOrBuilder in interface AudioStreamPropertyOrBuilder