public void setStreamSegmentId ( long value ) { Preconditions . checkState ( this . streamSegmentId == ContainerMetadata . NO_STREAM_SEGMENT_ID , "StreamSegmentId has already been assigned for this operation." ) ; Preconditions . checkArgument ( value != ContainerMetadata . NO_STREAM_SEGMENT_ID , "Invalid StreamSegmentId" ) ; this . streamSegmentId = value ; }
Sets the StreamSegmentId for this operation .