Interface DistributionStreamOrBuilder (0.77.0)

public interface DistributionStreamOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContainer()

public abstract String getContainer()

Required. The container format.

Supported container formats:

  • ts, must contain exactly one audio stream and up to one video stream.
  • flv, must contain at most one audio stream and at most one video stream.

string container = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The container.

getContainerBytes()

public abstract ByteString getContainerBytes()

Required. The container format.

Supported container formats:

  • ts, must contain exactly one audio stream and up to one video stream.
  • flv, must contain at most one audio stream and at most one video stream.

string container = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for container.

getElementaryStreams(int index)

public abstract String getElementaryStreams(int index)

Required. List of ElementaryStream keys multiplexed in this stream. Must contain at least one audio stream and up to one video stream.

repeated string elementary_streams = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The elementaryStreams at the given index.

getElementaryStreamsBytes(int index)

public abstract ByteString getElementaryStreamsBytes(int index)

Required. List of ElementaryStream keys multiplexed in this stream. Must contain at least one audio stream and up to one video stream.

repeated string elementary_streams = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the elementaryStreams at the given index.

getElementaryStreamsCount()

public abstract int getElementaryStreamsCount()

Required. List of ElementaryStream keys multiplexed in this stream. Must contain at least one audio stream and up to one video stream.

repeated string elementary_streams = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of elementaryStreams.

getElementaryStreamsList()

public abstract List<String> getElementaryStreamsList()

Required. List of ElementaryStream keys multiplexed in this stream. Must contain at least one audio stream and up to one video stream.

repeated string elementary_streams = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<String>

A list containing the elementaryStreams.

getKey()

public abstract String getKey()

Required. A unique key for this distribution stream. The key must be 1-63 characters in length. The key must begin and end with a letter (regardless of case) or a number, but can contain dashes or underscores in between.

string key = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The key.

getKeyBytes()

public abstract ByteString getKeyBytes()

Required. A unique key for this distribution stream. The key must be 1-63 characters in length. The key must begin and end with a letter (regardless of case) or a number, but can contain dashes or underscores in between.

string key = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for key.