Interface DistributionOrBuilder (0.77.0)

public interface DistributionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDistributionStream()

public abstract String getDistributionStream()

Required. DistributionStream keys that should appear in this distribution output.

  • For SRT protocol, only ts distribution streams can be specified.
  • For RTMP protocol, only flv distribution streams can be specified.

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

Returns
Type Description
String

The distributionStream.

getDistributionStreamBytes()

public abstract ByteString getDistributionStreamBytes()

Required. DistributionStream keys that should appear in this distribution output.

  • For SRT protocol, only ts distribution streams can be specified.
  • For RTMP protocol, only flv distribution streams can be specified.

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

Returns
Type Description
ByteString

The bytes for distributionStream.

getEndpointCase()

public abstract Distribution.EndpointCase getEndpointCase()
Returns
Type Description
Distribution.EndpointCase

getError()

public abstract Status getError()

Output only. Only present when the state is ERROR. The reason for the error state of the distribution.

.google.rpc.Status error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.rpc.Status

The error.

getErrorOrBuilder()

public abstract StatusOrBuilder getErrorOrBuilder()

Output only. Only present when the state is ERROR. The reason for the error state of the distribution.

.google.rpc.Status error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.rpc.StatusOrBuilder

getKey()

public abstract String getKey()

Required. A unique key for this distribution. 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. 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.

getRtmpPush()

public abstract RtmpPushOutputEndpoint getRtmpPush()

Output endpoint using RTMP_PUSH.

.google.cloud.video.livestream.v1.RtmpPushOutputEndpoint rtmp_push = 6;

Returns
Type Description
RtmpPushOutputEndpoint

The rtmpPush.

getRtmpPushOrBuilder()

public abstract RtmpPushOutputEndpointOrBuilder getRtmpPushOrBuilder()

Output endpoint using RTMP_PUSH.

.google.cloud.video.livestream.v1.RtmpPushOutputEndpoint rtmp_push = 6;

Returns
Type Description
RtmpPushOutputEndpointOrBuilder

getSrtPush()

public abstract SrtPushOutputEndpoint getSrtPush()

Output endpoint using SRT_PUSH.

.google.cloud.video.livestream.v1.SrtPushOutputEndpoint srt_push = 5;

Returns
Type Description
SrtPushOutputEndpoint

The srtPush.

getSrtPushOrBuilder()

public abstract SrtPushOutputEndpointOrBuilder getSrtPushOrBuilder()

Output endpoint using SRT_PUSH.

.google.cloud.video.livestream.v1.SrtPushOutputEndpoint srt_push = 5;

Returns
Type Description
SrtPushOutputEndpointOrBuilder

getState()

public abstract Distribution.State getState()

Output only. State of the distribution.

.google.cloud.video.livestream.v1.Distribution.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Distribution.State

The state.

getStateValue()

public abstract int getStateValue()

Output only. State of the distribution.

.google.cloud.video.livestream.v1.Distribution.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

hasError()

public abstract boolean hasError()

Output only. Only present when the state is ERROR. The reason for the error state of the distribution.

.google.rpc.Status error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the error field is set.

hasRtmpPush()

public abstract boolean hasRtmpPush()

Output endpoint using RTMP_PUSH.

.google.cloud.video.livestream.v1.RtmpPushOutputEndpoint rtmp_push = 6;

Returns
Type Description
boolean

Whether the rtmpPush field is set.

hasSrtPush()

public abstract boolean hasSrtPush()

Output endpoint using SRT_PUSH.

.google.cloud.video.livestream.v1.SrtPushOutputEndpoint srt_push = 5;

Returns
Type Description
boolean

Whether the srtPush field is set.