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 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()