Interface SegmentationDescriptor.Builder

    • Method Detail

      • segmentationEventId

        SegmentationDescriptor.Builder segmentationEventId​(Integer segmentationEventId)

        The Event Identifier to assign to the segmentation_descriptor.segmentation_event_id message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification. The default value is 1.

        Parameters:
        segmentationEventId - The Event Identifier to assign to the segmentation_descriptor.segmentation_event_id message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification. The default value is 1.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • segmentationUpidType

        SegmentationDescriptor.Builder segmentationUpidType​(Integer segmentationUpidType)

        The Upid Type to assign to the segmentation_descriptor.segmentation_upid_type message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification. Values must be between 0 and 256, inclusive. The default value is 14.

        Parameters:
        segmentationUpidType - The Upid Type to assign to the segmentation_descriptor.segmentation_upid_type message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification. Values must be between 0 and 256, inclusive. The default value is 14.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • segmentationUpid

        SegmentationDescriptor.Builder segmentationUpid​(String segmentationUpid)

        The Upid to assign to the segmentation_descriptor.segmentation_upid message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification. The value must be a hexadecimal string containing only the characters 0 though 9 and A through F. The default value is "" (an empty string).

        Parameters:
        segmentationUpid - The Upid to assign to the segmentation_descriptor.segmentation_upid message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification. The value must be a hexadecimal string containing only the characters 0 though 9 and A through F. The default value is "" (an empty string).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • segmentationTypeId

        SegmentationDescriptor.Builder segmentationTypeId​(Integer segmentationTypeId)

        The Type Identifier to assign to the segmentation_descriptor.segmentation_type_id message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification. Values must be between 0 and 256, inclusive. The default value is 48.

        Parameters:
        segmentationTypeId - The Type Identifier to assign to the segmentation_descriptor.segmentation_type_id message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification. Values must be between 0 and 256, inclusive. The default value is 48.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • segmentNum

        SegmentationDescriptor.Builder segmentNum​(Integer segmentNum)

        The segment number to assign to the segmentation_descriptor.segment_num message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification Values must be between 0 and 256, inclusive. The default value is 0.

        Parameters:
        segmentNum - The segment number to assign to the segmentation_descriptor.segment_num message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification Values must be between 0 and 256, inclusive. The default value is 0.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • segmentsExpected

        SegmentationDescriptor.Builder segmentsExpected​(Integer segmentsExpected)

        The number of segments expected, which is assigned to the segmentation_descriptor.segments_expectedS message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification Values must be between 0 and 256, inclusive. The default value is 0.

        Parameters:
        segmentsExpected - The number of segments expected, which is assigned to the segmentation_descriptor.segments_expectedS message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification Values must be between 0 and 256, inclusive. The default value is 0.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subSegmentNum

        SegmentationDescriptor.Builder subSegmentNum​(Integer subSegmentNum)

        The sub-segment number to assign to the segmentation_descriptor.sub_segment_num message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification. Values must be between 0 and 256, inclusive. The defualt value is null.

        Parameters:
        subSegmentNum - The sub-segment number to assign to the segmentation_descriptor.sub_segment_num message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification. Values must be between 0 and 256, inclusive. The defualt value is null.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subSegmentsExpected

        SegmentationDescriptor.Builder subSegmentsExpected​(Integer subSegmentsExpected)

        The number of sub-segments expected, which is assigned to the segmentation_descriptor.sub_segments_expected message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification. Values must be between 0 and 256, inclusive. The default value is null.

        Parameters:
        subSegmentsExpected - The number of sub-segments expected, which is assigned to the segmentation_descriptor.sub_segments_expected message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification. Values must be between 0 and 256, inclusive. The default value is null.
        Returns:
        Returns a reference to this object so that method calls can be chained together.