Class AudioStreamProperty (0.30.0)

public final class AudioStreamProperty extends GeneratedMessageV3 implements AudioStreamPropertyOrBuilder

Properties of the audio stream.

Protobuf type google.cloud.video.livestream.v1.AudioStreamProperty

Static Fields

AUDIO_FORMAT_FIELD_NUMBER

public static final int AUDIO_FORMAT_FIELD_NUMBER
Field Value
TypeDescription
int

INDEX_FIELD_NUMBER

public static final int INDEX_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AudioStreamProperty getDefaultInstance()
Returns
TypeDescription
AudioStreamProperty

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AudioStreamProperty.Builder newBuilder()
Returns
TypeDescription
AudioStreamProperty.Builder

newBuilder(AudioStreamProperty prototype)

public static AudioStreamProperty.Builder newBuilder(AudioStreamProperty prototype)
Parameter
NameDescription
prototypeAudioStreamProperty
Returns
TypeDescription
AudioStreamProperty.Builder

parseDelimitedFrom(InputStream input)

public static AudioStreamProperty parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AudioStreamProperty
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AudioStreamProperty parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AudioStreamProperty
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AudioStreamProperty parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AudioStreamProperty
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AudioStreamProperty parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AudioStreamProperty
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AudioStreamProperty parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AudioStreamProperty
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AudioStreamProperty parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AudioStreamProperty
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AudioStreamProperty parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AudioStreamProperty
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AudioStreamProperty parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AudioStreamProperty
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AudioStreamProperty parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AudioStreamProperty
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AudioStreamProperty parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AudioStreamProperty
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AudioStreamProperty parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AudioStreamProperty
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AudioStreamProperty parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AudioStreamProperty
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AudioStreamProperty> parser()
Returns
TypeDescription
Parser<AudioStreamProperty>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAudioFormat()

public AudioFormat getAudioFormat()

Properties of the audio format.

.google.cloud.video.livestream.v1.AudioFormat audio_format = 2;

Returns
TypeDescription
AudioFormat

The audioFormat.

getAudioFormatOrBuilder()

public AudioFormatOrBuilder getAudioFormatOrBuilder()

Properties of the audio format.

.google.cloud.video.livestream.v1.AudioFormat audio_format = 2;

Returns
TypeDescription
AudioFormatOrBuilder

getDefaultInstanceForType()

public AudioStreamProperty getDefaultInstanceForType()
Returns
TypeDescription
AudioStreamProperty

getIndex()

public int getIndex()

Index of this audio stream.

int32 index = 1;

Returns
TypeDescription
int

The index.

getParserForType()

public Parser<AudioStreamProperty> getParserForType()
Returns
TypeDescription
Parser<AudioStreamProperty>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasAudioFormat()

public boolean hasAudioFormat()

Properties of the audio format.

.google.cloud.video.livestream.v1.AudioFormat audio_format = 2;

Returns
TypeDescription
boolean

Whether the audioFormat field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AudioStreamProperty.Builder newBuilderForType()
Returns
TypeDescription
AudioStreamProperty.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AudioStreamProperty.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AudioStreamProperty.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AudioStreamProperty.Builder toBuilder()
Returns
TypeDescription
AudioStreamProperty.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException