Interface SegmentSettingsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
SegmentSettings, SegmentSettings.Builder

@Generated public interface SegmentSettingsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.Duration
    Duration of the segments in seconds.
    com.google.protobuf.DurationOrBuilder
    Duration of the segments in seconds.
    boolean
    Duration of the segments in seconds.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasSegmentDuration

      boolean hasSegmentDuration()
       Duration of the segments in seconds. The default is `6s`. Note that
       `segmentDuration` must be greater than or equal to
       [gop_duration][google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.gop_duration],
       and `segmentDuration` must be divisible by
       [gop_duration][google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.gop_duration].
       Valid range is [2s, 20s].
      
       All [mux_streams][google.cloud.video.livestream.v1.Manifest.mux_streams] in
       the same manifest must have the same segment duration.
       
      .google.protobuf.Duration segment_duration = 1;
      Returns:
      Whether the segmentDuration field is set.
    • getSegmentDuration

      com.google.protobuf.Duration getSegmentDuration()
       Duration of the segments in seconds. The default is `6s`. Note that
       `segmentDuration` must be greater than or equal to
       [gop_duration][google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.gop_duration],
       and `segmentDuration` must be divisible by
       [gop_duration][google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.gop_duration].
       Valid range is [2s, 20s].
      
       All [mux_streams][google.cloud.video.livestream.v1.Manifest.mux_streams] in
       the same manifest must have the same segment duration.
       
      .google.protobuf.Duration segment_duration = 1;
      Returns:
      The segmentDuration.
    • getSegmentDurationOrBuilder

      com.google.protobuf.DurationOrBuilder getSegmentDurationOrBuilder()
       Duration of the segments in seconds. The default is `6s`. Note that
       `segmentDuration` must be greater than or equal to
       [gop_duration][google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.gop_duration],
       and `segmentDuration` must be divisible by
       [gop_duration][google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.gop_duration].
       Valid range is [2s, 20s].
      
       All [mux_streams][google.cloud.video.livestream.v1.Manifest.mux_streams] in
       the same manifest must have the same segment duration.
       
      .google.protobuf.Duration segment_duration = 1;