Class InputStreamProperty (0.21.0)

public final class InputStreamProperty extends GeneratedMessageV3 implements InputStreamPropertyOrBuilder

Properties of the input stream.

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

Static Fields

AUDIO_STREAMS_FIELD_NUMBER

public static final int AUDIO_STREAMS_FIELD_NUMBER
Field Value
TypeDescription
int

LAST_ESTABLISH_TIME_FIELD_NUMBER

public static final int LAST_ESTABLISH_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

VIDEO_STREAMS_FIELD_NUMBER

public static final int VIDEO_STREAMS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static InputStreamProperty getDefaultInstance()
Returns
TypeDescription
InputStreamProperty

getDescriptor()

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

newBuilder()

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

newBuilder(InputStreamProperty prototype)

public static InputStreamProperty.Builder newBuilder(InputStreamProperty prototype)
Parameter
NameDescription
prototypeInputStreamProperty
Returns
TypeDescription
InputStreamProperty.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAudioStreams(int index)

public AudioStreamProperty getAudioStreams(int index)

Properties of the audio streams.

repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
AudioStreamProperty

getAudioStreamsCount()

public int getAudioStreamsCount()

Properties of the audio streams.

repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3;

Returns
TypeDescription
int

getAudioStreamsList()

public List<AudioStreamProperty> getAudioStreamsList()

Properties of the audio streams.

repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3;

Returns
TypeDescription
List<AudioStreamProperty>

getAudioStreamsOrBuilder(int index)

public AudioStreamPropertyOrBuilder getAudioStreamsOrBuilder(int index)

Properties of the audio streams.

repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
AudioStreamPropertyOrBuilder

getAudioStreamsOrBuilderList()

public List<? extends AudioStreamPropertyOrBuilder> getAudioStreamsOrBuilderList()

Properties of the audio streams.

repeated .google.cloud.video.livestream.v1.AudioStreamProperty audio_streams = 3;

Returns
TypeDescription
List<? extends com.google.cloud.video.livestream.v1.AudioStreamPropertyOrBuilder>

getDefaultInstanceForType()

public InputStreamProperty getDefaultInstanceForType()
Returns
TypeDescription
InputStreamProperty

getLastEstablishTime()

public Timestamp getLastEstablishTime()

The time that the current input stream is accepted and the connection is established.

.google.protobuf.Timestamp last_establish_time = 1;

Returns
TypeDescription
Timestamp

The lastEstablishTime.

getLastEstablishTimeOrBuilder()

public TimestampOrBuilder getLastEstablishTimeOrBuilder()

The time that the current input stream is accepted and the connection is established.

.google.protobuf.Timestamp last_establish_time = 1;

Returns
TypeDescription
TimestampOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getVideoStreams(int index)

public VideoStreamProperty getVideoStreams(int index)

Properties of the video streams.

repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
VideoStreamProperty

getVideoStreamsCount()

public int getVideoStreamsCount()

Properties of the video streams.

repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2;

Returns
TypeDescription
int

getVideoStreamsList()

public List<VideoStreamProperty> getVideoStreamsList()

Properties of the video streams.

repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2;

Returns
TypeDescription
List<VideoStreamProperty>

getVideoStreamsOrBuilder(int index)

public VideoStreamPropertyOrBuilder getVideoStreamsOrBuilder(int index)

Properties of the video streams.

repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
VideoStreamPropertyOrBuilder

getVideoStreamsOrBuilderList()

public List<? extends VideoStreamPropertyOrBuilder> getVideoStreamsOrBuilderList()

Properties of the video streams.

repeated .google.cloud.video.livestream.v1.VideoStreamProperty video_streams = 2;

Returns
TypeDescription
List<? extends com.google.cloud.video.livestream.v1.VideoStreamPropertyOrBuilder>

hasLastEstablishTime()

public boolean hasLastEstablishTime()

The time that the current input stream is accepted and the connection is established.

.google.protobuf.Timestamp last_establish_time = 1;

Returns
TypeDescription
boolean

Whether the lastEstablishTime 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 InputStreamProperty.Builder newBuilderForType()
Returns
TypeDescription
InputStreamProperty.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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