Interface DistributionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Distribution,Distribution.Builder
@Generated
public interface DistributionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.getError()Output only.Output only.getKey()Required.com.google.protobuf.ByteStringRequired.Output endpoint using RTMP_PUSH.Output endpoint using RTMP_PUSH.Output endpoint using SRT_PUSH.Output endpoint using SRT_PUSH.getState()Output only.intOutput only.booleanhasError()Output only.booleanOutput endpoint using RTMP_PUSH.booleanOutput endpoint using SRT_PUSH.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getKey
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:
- The key.
-
getKeyBytes
com.google.protobuf.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:
- The bytes for key.
-
getDistributionStream
String getDistributionStream()Required. `DistributionStream` [key][google.cloud.video.livestream.v1.DistributionStream.key]s 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:
- The distributionStream.
-
getDistributionStreamBytes
com.google.protobuf.ByteString getDistributionStreamBytes()Required. `DistributionStream` [key][google.cloud.video.livestream.v1.DistributionStream.key]s 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:
- The bytes for distributionStream.
-
getStateValue
int getStateValue()Output only. State of the distribution.
.google.cloud.video.livestream.v1.Distribution.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for state.
-
getState
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:
- The state.
-
hasError
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:
- Whether the error field is set.
-
getError
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:
- The error.
-
getErrorOrBuilder
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]; -
hasSrtPush
boolean hasSrtPush()Output endpoint using SRT_PUSH.
.google.cloud.video.livestream.v1.SrtPushOutputEndpoint srt_push = 5;- Returns:
- Whether the srtPush field is set.
-
getSrtPush
SrtPushOutputEndpoint getSrtPush()Output endpoint using SRT_PUSH.
.google.cloud.video.livestream.v1.SrtPushOutputEndpoint srt_push = 5;- Returns:
- The srtPush.
-
getSrtPushOrBuilder
SrtPushOutputEndpointOrBuilder getSrtPushOrBuilder()Output endpoint using SRT_PUSH.
.google.cloud.video.livestream.v1.SrtPushOutputEndpoint srt_push = 5; -
hasRtmpPush
boolean hasRtmpPush()Output endpoint using RTMP_PUSH.
.google.cloud.video.livestream.v1.RtmpPushOutputEndpoint rtmp_push = 6;- Returns:
- Whether the rtmpPush field is set.
-
getRtmpPush
RtmpPushOutputEndpoint getRtmpPush()Output endpoint using RTMP_PUSH.
.google.cloud.video.livestream.v1.RtmpPushOutputEndpoint rtmp_push = 6;- Returns:
- The rtmpPush.
-
getRtmpPushOrBuilder
RtmpPushOutputEndpointOrBuilder getRtmpPushOrBuilder()Output endpoint using RTMP_PUSH.
.google.cloud.video.livestream.v1.RtmpPushOutputEndpoint rtmp_push = 6; -
getEndpointCase
Distribution.EndpointCase getEndpointCase()
-